Merge pull request 'Fixing non loading items' (#56) from itemFix into master
Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Commit
586a4f0c9f
@ -8,7 +8,11 @@ class SWItem_14 {
|
||||
private SWItem_14(){}
|
||||
|
||||
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){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren