geforkt von Mirrors/FastAsyncWorldEdit
Prevent setting blocks to items due to Bukkit's Material containing both.
Dieser Commit ist enthalten in:
Ursprung
3f0da63b01
Commit
4d6bb6d746
@ -670,7 +670,7 @@ public class BukkitWorld extends LocalWorld {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isValidBlockType(int type) {
|
public boolean isValidBlockType(int type) {
|
||||||
return Material.getMaterial(type) != null;
|
return type <= 255 && Material.getMaterial(type) != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren