3
0
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:
wizjany 2013-03-15 22:25:57 -04:00
Ursprung b3392986be
Commit c042f7829a

Datei anzeigen

@ -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);
} }
/** /**