Fixed equalsFuzzy returning true when it shouldn't

This commit is contained in:
wizjany 2013-03-15 22:25:57 -04:00
parent b3392986be
commit c042f7829a

View File

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