From 01cc521a71e09019905c853b2295c4ca7f7f632c Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 15 Aug 2018 18:02:07 -0700 Subject: [PATCH] fixed --- src/main/java/baritone/bot/utils/pathing/BetterBlockPos.java | 3 +++ 1 file changed, 3 insertions(+) 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) {