mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-23 16:40:31 +00:00
load palettes in chunk generator
This commit is contained in:
1 parent
9e7bab340e
commit
0bd6ff9469
5 files changed
+86
-1
No files matched your search
+5
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user