load palettes in chunk generator

This commit is contained in:
dfsek committed 2021-07-15 20:01:36 -07:00
1 parent 9e7bab340e
commit 0bd6ff9469
5 files changed
+86 -1

No files matched your search

@@ -58,4 +58,9 @@ public class ConfigurationLoadEvent implements PackEvent {
throw new ClassCastException("Cannot assign object from loader of type " + type.getTypeClass().getCanonicalName() + " to class " + clazz.getCanonicalName());
return (T) loaded;
}
@SuppressWarnings("unchecked")
public <T> T getLoadedObject() {
return (T) loaded;
}
}