Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Fixed equalsFuzzy returning true when it shouldn't
Dieser Commit ist enthalten in:
Ursprung
b3392986be
Commit
c042f7829a
@ -150,7 +150,7 @@ public class BaseBlock extends Block {
|
|||||||
* @return true if equal
|
* @return true if equal
|
||||||
*/
|
*/
|
||||||
public boolean equalsFuzzy(BaseBlock o) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren