mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-21 11:46:46 +01:00
Fixed issues with creation of hook classes
This commit is contained in:
parent
2ca537b1bb
commit
b73dc50b31
@ -85,7 +85,7 @@ public final class ProvidersHandler implements ProvidersManager {
|
||||
|
||||
private <T> Optional<T> createInstance(String className) {
|
||||
try {
|
||||
Class<?> clazz = Class.forName("com.bgsoftware.superiorskyblock.hooks.provider." + className);
|
||||
Class<?> clazz = Class.forName("com.bgsoftware.wildloaders.hooks." + className);
|
||||
try {
|
||||
Method compatibleMethod = clazz.getDeclaredMethod("isCompatible");
|
||||
if (!(boolean) compatibleMethod.invoke(null))
|
||||
|
Loading…
Reference in New Issue
Block a user