Fixed 4096/256 block ID restriction in BukkitWorld.

This commit is contained in:
sk89q 2012-08-24 13:38:26 -07:00
parent 39d451438f
commit 18c793683b

View File

@ -866,7 +866,7 @@ public class BukkitWorld extends LocalWorld {
*/ */
@Override @Override
public boolean isValidBlockType(int type) { public boolean isValidBlockType(int type) {
return type <= 255 && Material.getMaterial(type) != null; return type <= 4095 && Material.getMaterial(type) != null;
} }
@Override @Override