Revert "Revert Animation Events"

This reverts commit 1ffddd3ce9.
This commit is contained in:
Kam committed 2024-08-22 16:47:07 -04:00
1 parent 2689127787
commit 4113bcc6e9
31 files changed
+694 -206

No files matched your search

@@ -1,6 +1,7 @@
package noppes.npcs.controllers.data;
import com.google.common.base.Preconditions;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.eventhandler.Event;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
@@ -97,7 +98,7 @@ public class PlayerDataScript implements INpcScriptHandler {
}
public boolean isClient() {
return this.player.isClientWorld();
return false;
}
public boolean getEnabled() {
return ScriptController.Instance.playerScripts.enabled;