fixed
This commit is contained in:
parent
6860521403
commit
01cc521a71
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user