Fixed 4096/256 block ID restriction in BukkitWorld.

Dieser Commit ist enthalten in:
sk89q 2012-08-24 13:38:26 -07:00
Ursprung 39d451438f
Commit 18c793683b

Datei anzeigen

@ -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