Hotfix material issue
Dieser Commit ist enthalten in:
Ursprung
731cb9968b
Commit
753611dd8d
@ -27,7 +27,11 @@ class SWItem_8 {
|
||||
private SWItem_8(){}
|
||||
|
||||
static Material getMaterial(String material){
|
||||
return Material.valueOf(material);
|
||||
try{
|
||||
return Material.valueOf(material);
|
||||
}catch(IllegalArgumentException e){
|
||||
return Material.STONE;
|
||||
}
|
||||
}
|
||||
|
||||
static Material getDye(){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren