AE itemstack size may be larger that int

This commit is contained in:
repo_alt 2021-01-01 21:48:25 +03:00
parent 4797485dc2
commit 5f03fd3696
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
minecraft.version=1.7.10
forge.version=10.13.4.1614-1.7.10
oc.version=1.7.5.7-GTNH
oc.version=1.7.5.8-GTNH
ae2.version=rv2-beta-26
bc.version=7.0.9

View File

@ -393,7 +393,7 @@ object NetworkControl {
val hash = result(0)
// it would have been nice to put these fields in a registry convert
// but the potential ae item needs the tile and position data
hash.update("size", Int.box(aeItem.getStackSize.toInt))
hash.update("size", Long.box(aeItem.getStackSize))
hash.update("isCraftable", Boolean.box(aeItem.isCraftable))
return hash
}