Merge pull request #23 from repo-alt/master-MC1.7.10

AE itemstack size may be larger that int
This commit is contained in:
repo-alt 2021-01-01 22:00:18 +03:00 committed by GitHub
commit 2eed2f5573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}