Summary
- Revert passable state to last-wins. PassableState priority appears to have too much friction, and a custom passable state combining API would run into difficulties with cross-plugin compatibility. One alternative would be to expose some passability bits for ground, water, flying, etc. in the storage to both slightly optimise block lookups and allow safer passability overrides. (commit: 7c80504) (details)
The file was modified | src/main/java/net/citizensnpcs/api/astar/pathfinder/BlockExaminer.java |
The file was modified | src/main/java/net/citizensnpcs/api/astar/pathfinder/SwimmingExaminer.java |
The file was modified | src/main/java/net/citizensnpcs/api/astar/pathfinder/MinecraftBlockExaminer.java |
The file was modified | src/main/java/net/citizensnpcs/api/astar/pathfinder/VectorNode.java |
The file was modified | src/main/java/net/citizensnpcs/api/astar/pathfinder/FlyingBlockExaminer.java |