Removed unnecessary valid block checking (already in LocalWorld)

This commit is contained in:
zml2008
2011-08-16 22:29:06 -07:00
parent a313f2e93e
commit c99d64cfa0
3 changed files with 1 additions and 16 deletions

View File

@ -289,7 +289,7 @@ public class WorldEdit {
blockId = blockType.getID();
}
if (!server.isValidBlockType(blockId)) {
if (!player.getWorld().isValidBlockType(blockId)) {
throw new UnknownItemException(arg);
}