Cleaned up ForgeWorld, AbstractWorld.

Change block setting method in Forge to a more proper one.
This commit is contained in:
sk89q
2014-04-06 15:06:38 -07:00
parent b6ee2c570a
commit 4a6614f34f
10 changed files with 378 additions and 301 deletions

View File

@@ -82,7 +82,7 @@ public class LocalWorldAdapter extends LocalWorld {
}
@Override
public boolean setBlock(Vector position, BaseBlock block, boolean notifyAndLight) {
public boolean setBlock(Vector position, BaseBlock block, boolean notifyAndLight) throws WorldEditException {
return world.setBlock(position, block, notifyAndLight);
}