mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
Change the block type check to be implementation-dependent. The Bukkit plugin now checks Bukkit's Material.
This commit is contained in:
@ -164,7 +164,7 @@ public class EditSession {
|
||||
}
|
||||
|
||||
// No invalid blocks
|
||||
if ((type > 32 && type < 35) || type == 36 || type == 29 || type > 96) {
|
||||
if (!world.isValidBlockType(type)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user