Revert unneccessary fix
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
4bf1905496
Commit
1dc6ddb2e8
@ -207,13 +207,8 @@ class GUI {
|
||||
Material m;
|
||||
if (schem.getItem().isEmpty())
|
||||
m = SWItem.getMaterial("CAULDRON_ITEM");
|
||||
else{
|
||||
try{
|
||||
m = SWItem.getMaterial(schem.getItem());
|
||||
}catch(IllegalArgumentException e){
|
||||
m = SWItem.getMaterial("CAULDRON_ITEM");
|
||||
}
|
||||
}
|
||||
else
|
||||
m = SWItem.getMaterial(schem.getItem());
|
||||
|
||||
SWItem item = new SWItem(m, "§e" + schem.getSchemName(), Collections.singletonList("§7" + schem.getSchemType().name()), !schem.getSchemType().writeable(), click -> {});
|
||||
if(schem.getRank() > 0)
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren