mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
Individualized Player Scripts Config
This commit is contained in:
1 parent
e8a3d4f369
commit
4fd0c31bee
19 files changed
+246
-131
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package noppes.npcs.scripted.gui;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.nbt.NBTBase;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
@@ -63,8 +64,8 @@ public class ScriptGui implements ICustomGui {
|
||||
return this.slots;
|
||||
}
|
||||
|
||||
public PlayerDataScript getScriptHandler() {
|
||||
return ScriptController.Instance.playerScripts;//this.scriptHandler;
|
||||
public PlayerDataScript getScriptHandler(EntityPlayer player) {
|
||||
return ScriptController.Instance.getPlayerScripts(player);
|
||||
}
|
||||
|
||||
public void setSize(int width, int height) {
|
||||
|
||||
Reference in new issue
Block a user