itemTransferRange proper usage

This commit is contained in:
Anuken
2022-03-11 00:35:34 -05:00
parent da1517879a
commit 846a697d2e
9 changed files with 14 additions and 13 deletions

View File

@@ -483,7 +483,7 @@ public class LExecutor{
}
}
case getBlock -> {
float range = Math.max(unit.range(), buildingRange);
float range = Math.max(unit.range(), unit.type.buildRange);
if(!unit.within(x1, y1, range)){
exec.setobj(p3, null);
exec.setobj(p4, null);