Merge pull request #6 from KiloJoel/enervationEmitterFix

commented out laggy code
This commit is contained in:
Martin Robertz authored and GitHub committed 2020-12-07 09:37:06 +01:00
commit 62fc07feb3
1 file changed
+2 -2
@@ -295,7 +295,7 @@ public class EventHandlerWorld {
@Override
public boolean getGameRuleBooleanValue() {
boolean mobGriefing = super.getGameRuleBooleanValue();
if(mobGriefing) {
/*if(mobGriefing) {
Entity lastUpdated = this.handler.lastUpdated;
if(lastUpdated != null) {
StackTraceElement[] elements = Thread.currentThread().getStackTrace();
@@ -306,7 +306,7 @@ public class EventHandlerWorld {
}
}
}
}
}*/
return mobGriefing;
}
}