diff options
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/ReflectionUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ReflectionUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ReflectionUtils.kt index 5ef72ddd7..d8ebbaf68 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/ReflectionUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/ReflectionUtils.kt @@ -74,7 +74,7 @@ object ReflectionUtils { val Class<*>.shPackageName get() = - canonicalName.substringBeforeLast('.') + canonicalName?.substringBeforeLast('.') fun Class<*>.getModContainer(): ModContainer? { return packageLookup[shPackageName] |