This commit is contained in:
Leijurv 2018-08-15 18:02:07 -07:00
parent 6860521403
commit 01cc521a71
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -62,6 +62,9 @@ public class BetterBlockPos extends BlockPos {
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if (o == null) {
return false;
}
if (o instanceof BetterBlockPos) { if (o instanceof BetterBlockPos) {
BetterBlockPos oth = (BetterBlockPos) o; BetterBlockPos oth = (BetterBlockPos) o;
if (oth.hashCode != hashCode) { if (oth.hashCode != hashCode) {