Less steps

This commit is contained in:
paulevsGitch 2021-01-05 01:59:28 +03:00
parent 3283f9763b
commit c4384c7419

View file

@ -143,8 +143,7 @@ public class EndPortalBlock extends NetherPortalBlock implements IRenderTypeable
}
private BlockPos.Mutable findCenter(World world, BlockPos.Mutable pos, Direction.Axis axis, int step) {
if (step > 21) return pos;
if (step > 4) return pos;
BlockState right, left;
Direction rightDir, leftDir;
rightDir = Direction.from(axis, AxisDirection.POSITIVE);