compare BlockPos to BlockPos move fix

This commit is contained in:
payonel 2018-09-26 22:05:58 -07:00
parent 04a0697f29
commit ea252ff475

View File

@ -259,7 +259,7 @@ class Robot extends traits.Computer with traits.PowerInformation with traits.Rot
else { else {
world.setBlockToAir(newPosition) world.setBlockToAir(newPosition)
} }
created && this.position == newPosition created && this.pos == newPosition
} }
finally { finally {
blockRobotProxy.moving.set(None) blockRobotProxy.moving.set(None)