fix: adding existing classes to the patchers cache

This commit is contained in:
oSumAtrIX
2022-04-11 03:52:04 +02:00
parent af4f2396c7
commit 4281546f69

View File

@ -48,6 +48,8 @@ class Patcher(
// TODO: Use logger and warn about duplicate classes
if (throwOnDuplicates)
throw Exception("Class ${classDef.type} has already been added to the patcher.")
continue
}
cache.classes.add(classDef)
}