Cleanup comments, formatting, etc

This commit is contained in:
Travis Watkins
2013-03-24 23:22:32 -05:00
parent 7c40a073d8
commit 5f089137ee
148 changed files with 420 additions and 470 deletions

View File

@@ -115,19 +115,17 @@ public class CraftBlockState implements BlockState {
public boolean update(boolean force) {
Block block = getBlock();
synchronized (block) {
if (block.getType() != this.getType()) {
if (force) {
block.setTypeId(this.getTypeId());
} else {
return false;
}
if (block.getType() != this.getType()) {
if (force) {
block.setTypeId(this.getTypeId());
} else {
return false;
}
block.setData(getRawData());
world.getHandle().notify(x, y, z);
}
block.setData(getRawData());
world.getHandle().notify(x, y, z);
return true;
}