Fixing shovel bug
Dieser Commit ist enthalten in:
Ursprung
4d6b3ef738
Commit
a46dfc6763
@ -59,7 +59,6 @@ public class CheckSchemType {
|
|||||||
INVENTORY = inventory;
|
INVENTORY = inventory;
|
||||||
|
|
||||||
Set<Material> flowers = new HashSet<>();
|
Set<Material> flowers = new HashSet<>();
|
||||||
flowers.add(Material.CHORUS_FLOWER);
|
|
||||||
flowers.add(Material.YELLOW_FLOWER);
|
flowers.add(Material.YELLOW_FLOWER);
|
||||||
flowers.add(Material.RED_ROSE);
|
flowers.add(Material.RED_ROSE);
|
||||||
flowers.add(Material.DOUBLE_PLANT);
|
flowers.add(Material.DOUBLE_PLANT);
|
||||||
@ -189,7 +188,7 @@ public class CheckSchemType {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Material type = Material.getMaterial(item.getString("id").split(":")[1].toUpperCase());
|
Material type = Material.getMaterial(item.getString("id").split(":")[1].toUpperCase().replace("SHOVEL", "SPADE"));
|
||||||
if(type == null && item.getString("id").equals("minecraft:fire_charge"))
|
if(type == null && item.getString("id").equals("minecraft:fire_charge"))
|
||||||
type = Material.FIREBALL;
|
type = Material.FIREBALL;
|
||||||
if(type == null) //Leere Slots
|
if(type == null) //Leere Slots
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren