Emergency Fix (#587)
This commit is contained in:
1 parent
5db6da334d
commit
9d5d1c57ac
3 files changed
+18
-1
No files matched your search
@@ -39,6 +39,8 @@ public class DeprecatedItems {
|
||||
*/
|
||||
@java.lang.Deprecated
|
||||
public static String getItemName(int id) {
|
||||
if(id == -1)
|
||||
return "Unarmed";
|
||||
if(org.apollo.cache.def.ItemDefinition.lookup(id) == null || org.apollo.cache.def.ItemDefinition.lookup(id).getName() == null)
|
||||
return "Unarmed";
|
||||
return org.apollo.cache.def.ItemDefinition.lookup(id).getName();
|
||||
|
||||
Reference in new issue
Block a user