This commit is contained in:
Anuken 2020-10-22 16:27:24 -04:00
parent a2e75df096
commit ace9aebf2b
2 changed files with 2 additions and 2 deletions

View File

@ -478,7 +478,7 @@ public class LExecutor{
Building build = exec.building(p1);
int amount = exec.numi(p3);
if(build != null && exec.obj(p2) instanceof Item item && unit.within(build, logicItemTransferRange)){
if(build != null && build.items != null && exec.obj(p2) instanceof Item item && unit.within(build, logicItemTransferRange)){
int taken = Math.min(build.items.get(item), Math.min(amount, unit.maxAccepted(item)));
if(taken > 0){

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=3f883ca573d8b3132cab878c07487febecf1d4e2
archash=f8ef0f3a72de0f79ca49da895fed0b6889cd597e