Fixing non loading items
Dieser Commit ist enthalten in:
Ursprung
3bc9834782
Commit
a01d1a93c4
@ -8,7 +8,11 @@ class SWItem_14 {
|
|||||||
private SWItem_14(){}
|
private SWItem_14(){}
|
||||||
|
|
||||||
static Material getMaterial(String material) {
|
static Material getMaterial(String material) {
|
||||||
return Material.valueOf("LEGACY_" + material);
|
try{
|
||||||
|
return Material.valueOf(material);
|
||||||
|
}catch(IllegalArgumentException e){
|
||||||
|
return Material.valueOf("LEGACY_" + material);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static Material getDye(int colorCode){
|
static Material getDye(int colorCode){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren