mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-12 12:25:03 +08:00
Fixed equalsFuzzy returning true when it shouldn't
This commit is contained in:
parent
b3392986be
commit
c042f7829a
@ -150,7 +150,7 @@ public boolean equals(Object o) {
|
||||
* @return true if equal
|
||||
*/
|
||||
public boolean equalsFuzzy(BaseBlock o) {
|
||||
return (getType() == o.getType() && getData() == o.getData()) || getData() == -1 || o.getData() == -1;
|
||||
return (getType() == o.getType()) && (getData() == o.getData() || getData() == -1 || o.getData() == -1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user