mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
IItemStack:
-New itemHash() function for comparing new instances of script item stacks for the same item.
This commit is contained in:
1 parent
6e4083a9cc
commit
826a90bd6d
1 file changed
+4
@@ -405,4 +405,8 @@ public class ScriptItemStack implements IItemStack {
|
||||
public ItemStack getMCItemStack() {
|
||||
return item;
|
||||
}
|
||||
|
||||
public int itemHash() {
|
||||
return item.hashCode();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user