mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 16:09:05 +00:00
Change Hooks for Effects
This commit is contained in:
1 parent
d9aea174f4
commit
7432373533
5 files changed
+68
-28
No files matched your search
@@ -6,6 +6,7 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
import noppes.npcs.NBTTags;
|
||||
import noppes.npcs.constants.EnumScriptType;
|
||||
import noppes.npcs.controllers.ScriptContainer;
|
||||
import noppes.npcs.controllers.data.EffectScript;
|
||||
import noppes.npcs.controllers.data.PlayerDataScript;
|
||||
|
||||
import java.util.List;
|
||||
@@ -80,6 +81,9 @@ public class GuiScriptPlayers extends GuiScriptInterface {
|
||||
hookList.add(EnumScriptType.PROFILE_CHANGE.function);
|
||||
hookList.add(EnumScriptType.PROFILE_REMOVE.function);
|
||||
hookList.add(EnumScriptType.PROFILE_CREATE.function);
|
||||
hookList.add(EffectScript.ScriptType.OnEffectAdd.function);
|
||||
hookList.add(EffectScript.ScriptType.OnEffectTick.function);
|
||||
hookList.add(EffectScript.ScriptType.OnEffectRemove.function);
|
||||
|
||||
this.handler = this.script;
|
||||
PlayerScriptPacket.Get();
|
||||
|
||||
Reference in new issue
Block a user