High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
Aikar 1f63668ee9 Prevent Pathfinding out of World Border
This prevents Entities from trying to run outside of the World Border

TODO: This doesn't prevent the pathfinder from using blocks outside the world border as nodes. We can fix this
by adding code to all overrides in:
    NodeEvaluator:
    public abstract BlockPathTypes getBlockPathType(BlockGetter world, int x, int y, int z);

to return BLOCKED if it is outside the world border.
2016-12-19 23:07:42 -05:00
paper-server Prevent Pathfinding out of World Border 2016-12-19 23:07:42 -05:00