Emergency Fix (#587)

This commit is contained in:
MatthewBishop authored and GitHub committed 2023-02-06 01:06:37 +00:00
1 parent 5db6da334d
commit 9d5d1c57ac
3 files changed
+18 -1

No files matched your search

@@ -149,6 +149,8 @@ public class ItemData {
"sallet", "Facemask", "Bearhead"};
public static boolean isFullBody(int itemId) {
if(itemId == -1)
return false;
String weapon = ItemDefinition.lookup(itemId).getName();
if (weapon == null) {
return false;
@@ -162,6 +164,8 @@ public class ItemData {
}
public static boolean isFullHelm(int itemId) {
if(itemId == -1)
return false;
String weapon = ItemDefinition.lookup(itemId).getName();
if (weapon == null) {
return false;
@@ -175,6 +179,8 @@ public class ItemData {
}
public static boolean isFullMask(int itemId) {
if(itemId == -1)
return false;
String weapon = ItemDefinition.lookup(itemId).getName();
if (weapon == null) {
return false;