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

@ -1236,7 +1236,7 @@ public class BukkitWorld extends LocalWorld {
}
@Override
public boolean setBlock(Vector pt, BaseBlock block, boolean notifyAdjacent) {
public boolean setBlock(Vector pt, BaseBlock block, boolean notifyAdjacent) throws WorldEditException {
if (!skipNmsSafeSet) {
try {
return (Boolean) nmsSetSafeMethod.invoke(null, this, pt, block, notifyAdjacent);