This commit is contained in:
gnembon committed 2019-06-29 03:29:29 -03:00
1 parent e6158c1aab
commit b79b942819
3 files changed
+20 -6

No files matched your search

@@ -119,7 +119,7 @@ public class NBTSerializableValue extends Value
if (slot < 0)
slot = invSize + slot;
if (slot < 0 || slot >= invSize)
throw new InternalExpressionException("Slot for inventory should be between 0 and "+(invSize-1));
return inv.getInvSize(); // outside of inventory
return slot;
}