IItemStack:

-New itemHash() function for comparing new instances of script item stacks for the same item.
This commit is contained in:
Luis C.M committed 2023-06-03 00:02:37 -05:00
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();
}
}