Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2025-01-11 10:10:04 +01:00
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
|
||||
public boolean isValidBlockType(int type) {
|
||||
return Material.getMaterial(type) != null;
|
||||
return type <= 255 && Material.getMaterial(type) != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren