mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Updated for 1.8 blocks and items
This commit is contained in:
@ -670,7 +670,7 @@ public class BukkitWorld extends LocalWorld {
|
||||
*/
|
||||
@Override
|
||||
public boolean isValidBlockType(int type) {
|
||||
return type <= 255 && Material.getMaterial(type) != null;
|
||||
return type <= 255 && (Material.getMaterial(type) != null || BlockType.fromID(type) != null); // Bukkit isn't always updated before WorldEdit is
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user