diff --git a/src/main/java/baritone/bot/utils/pathing/BetterBlockPos.java b/src/main/java/baritone/bot/utils/pathing/BetterBlockPos.java index 6541aad0..0f1ece1e 100644 --- a/src/main/java/baritone/bot/utils/pathing/BetterBlockPos.java +++ b/src/main/java/baritone/bot/utils/pathing/BetterBlockPos.java @@ -62,6 +62,9 @@ public class BetterBlockPos extends BlockPos { @Override public boolean equals(Object o) { + if (o == null) { + return false; + } if (o instanceof BetterBlockPos) { BetterBlockPos oth = (BetterBlockPos) o; if (oth.hashCode != hashCode) {