We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90f6117 commit e21878fCopy full SHA for e21878f
src/main/java/org/byteskript/skript/runtime/Skript.java
@@ -276,7 +276,7 @@ private static Skript findInstance() {
276
public Class<?> getClass(String name) {
277
final Class<?> found = getClass(name, Skript.class);
278
if (found != null) return found;
279
- for (Library library : compiler.getLibraries()) {
+ for (Library library : getLoadedLibraries()) {
280
final Class<?> test = getClass(name, library.getClass());
281
if (test != null) return test;
282
}
0 commit comments