remove extraneous checks in bsi

This commit is contained in:
Leijurv
2018-11-23 09:03:51 -08:00
parent 70f8d1d4ae
commit b228f4c6fb
2 changed files with 7 additions and 14 deletions

View File

@@ -86,7 +86,7 @@ public interface MovementHelper extends ActionCosts, Helper {
// so the only remaining dynamic isPassables are snow and trapdoor
// if they're cached as a top block, we don't know their metadata
// default to true (mostly because it would otherwise make long distance pathing through snowy biomes impossible)
if (bsi.getWorld().getChunk(x >> 4, z >> 4) instanceof EmptyChunk) {
if (!bsi.worldContainsLoadedChunk(x, z)) {
return true;
}
if (snow) {