Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +01:00
Improved the readability of BaseBlock.equals.
Dieser Commit ist enthalten in:
Ursprung
9a000de7cf
Commit
da37f5424c
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren