use origin

This commit is contained in:
Leijurv 2019-07-19 18:55:32 -07:00
parent 93a090c56e
commit df900c9e64
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -134,7 +134,7 @@ public interface MovementHelper extends ActionCosts, Helper {
// every block that overrides isPassable with anything more complicated than a "return true;" or "return false;" // every block that overrides isPassable with anything more complicated than a "return true;" or "return false;"
// has already been accounted for above // has already been accounted for above
// therefore it's safe to not construct a blockpos from our x, y, z ints and instead just pass null // therefore it's safe to not construct a blockpos from our x, y, z ints and instead just pass null
return block.isPassable(null, null); return block.isPassable(null, BlockPos.ORIGIN);
} }
/** /**