mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Added removeTags() function to ScriptItemStack and isCustomGUI function to ScriptContainer
This commit is contained in:
1 parent
6b9cfb9d25
commit
8919a182c5
4 files changed
+15
No files matched your search
@@ -10,6 +10,7 @@ import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import noppes.npcs.NoppesUtilPlayer;
|
||||
import noppes.npcs.containers.ContainerCustomGui;
|
||||
import noppes.npcs.scripted.interfaces.IContainer;
|
||||
import noppes.npcs.scripted.interfaces.IItemStack;
|
||||
|
||||
@@ -82,4 +83,8 @@ public class ScriptContainer implements IContainer {
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
public boolean isCustomGUI() {
|
||||
return this.container instanceof ContainerCustomGui;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user