3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00

Improved the readability of BaseBlock.equals.

Dieser Commit ist enthalten in:
TomyLobo 2013-12-02 09:46:45 +01:00
Ursprung 9a000de7cf
Commit da37f5424c

Datei anzeigen

@ -140,7 +140,12 @@ public class BaseBlock extends Block {
return false;
}
return getType() == ((BaseBlock) o).getType() && getData() == ((BaseBlock) o).getData();
final BaseBlock otherBlock = (BaseBlock) o;
if (getType() != otherBlock.getType()) {
return false;
}
return getData() == otherBlock.getData();
}
/**