mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fixed equalsFuzzy returning true when it shouldn't
This commit is contained in:
parent
b3392986be
commit
c042f7829a
@ -150,7 +150,7 @@ public class BaseBlock extends Block {
|
||||
* @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