mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 10:57:11 +00:00
Fixed 4096/256 block ID restriction in BukkitWorld.
This commit is contained in:
parent
39d451438f
commit
18c793683b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user