mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 01:05:12 +00:00
RightClick Event for Scripted Items
This commit is contained in:
1 parent
4a58702d16
commit
7f2a375323
9 files changed
+101
-14
No files matched your search
@@ -1,7 +1,3 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
package noppes.npcs.controllers.data;
|
||||
|
||||
import com.google.common.base.Preconditions;
|
||||
@@ -30,6 +26,7 @@ public class PlayerDataScript implements INpcScriptHandler {
|
||||
private IPlayer playerAPI;
|
||||
private long lastPlayerUpdate = 0L;
|
||||
public long lastInited = -1L;
|
||||
public boolean hadInteract = true;
|
||||
public boolean enabled = false;
|
||||
|
||||
public PlayerDataScript(EntityPlayer player) {
|
||||
@@ -320,4 +317,4 @@ public class PlayerDataScript implements INpcScriptHandler {
|
||||
public static PlayerDataScript.ToStringHelper toStringHelper(Object self) {
|
||||
return new PlayerDataScript.ToStringHelper(self.getClass().getSimpleName());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user