mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 17:27:38 +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
|
@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
|
||||||
|
Loading…
Reference in New Issue
Block a user