From 18c793683b090489d1b10d6073b5c19863655f8c Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 24 Aug 2012 13:38:26 -0700 Subject: [PATCH] Fixed 4096/256 block ID restriction in BukkitWorld. --- src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index bfd1c0105..c5d7afd02 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -866,7 +866,7 @@ public class BukkitWorld extends LocalWorld { */ @Override public boolean isValidBlockType(int type) { - return type <= 255 && Material.getMaterial(type) != null; + return type <= 4095 && Material.getMaterial(type) != null; } @Override