Merge pull request #2772 from LeoDog896/pathfinder

Remove nearGround in favor of !nearLiquid
This commit is contained in:
Anuken 2020-09-30 12:59:55 -04:00 committed by GitHub
commit 6645e3a473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,6 @@ public class Pathfinder implements Runnable{
/** Packs a tile into its internal representation. */
private int packTile(Tile tile){
//TODO nearGround is just the inverse of nearLiquid?
boolean nearLiquid = false, nearSolid = false, nearGround = false;
for(int i = 0; i < 4; i++){