Added console output and correct script halting to scripted player events. Renamed PlayerScriptContainer to EventScriptContainer.

This commit is contained in:
luisc committed 2021-10-17 16:11:29 -05:00
1 parent a9bce4a3e3
commit c5ed7497c8
9 files changed
+149 -130

No files matched your search

@@ -322,10 +322,6 @@ public class ScriptPlayerEventHandler {
classes = classLoader.getName();
} while(classes.startsWith("net.minecraftforge.event.terraingen"));
if(classes.startsWith("cpw.mods.fml.common.gameevent")){
;
}
Class infoClass = classLoader.load();
ArrayList c = new ArrayList(Arrays.asList(infoClass.getDeclaredClasses()));
if(c.isEmpty()) {