revert and cleanup
This commit is contained in:
@@ -82,7 +82,7 @@ public enum ItemType
|
|||||||
{
|
{
|
||||||
return ItemType.COINS;
|
return ItemType.COINS;
|
||||||
}
|
}
|
||||||
if (item.getName().toLowerCase().contains("ring of") || item.getName().toLowerCase().contains("amulet of") ||
|
if (item.getName().toLowerCase().contains("ring of") || item.getName().toLowerCase().contains("amulet") ||
|
||||||
item.getName().toLowerCase().contains("bracelet") || item.getName().toLowerCase().contains("necklace"))
|
item.getName().toLowerCase().contains("bracelet") || item.getName().toLowerCase().contains("necklace"))
|
||||||
{
|
{
|
||||||
return ItemType.JEWELLERY;
|
return ItemType.JEWELLERY;
|
||||||
|
|||||||
@@ -89,7 +89,6 @@ public class SuppliesTrackerPlugin extends Plugin
|
|||||||
private static final String DRINK_PATTERN = "^drink";
|
private static final String DRINK_PATTERN = "^drink";
|
||||||
private static final String TELEPORT_PATTERN = "^teleport";
|
private static final String TELEPORT_PATTERN = "^teleport";
|
||||||
private static final String TELETAB_PATTERN = "^break";
|
private static final String TELETAB_PATTERN = "^break";
|
||||||
private static final String TELEPORT_SCROLL_BOOK_PATTERN = "teleport scroll$";
|
|
||||||
private static final String SPELL_PATTERN = "^cast|^grand\\sexchange|^outside|^seers|^yanille";
|
private static final String SPELL_PATTERN = "^cast|^grand\\sexchange|^outside|^seers|^yanille";
|
||||||
|
|
||||||
//Equipment slot constants
|
//Equipment slot constants
|
||||||
@@ -681,8 +680,6 @@ public class SuppliesTrackerPlugin extends Plugin
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Pattern scrollPattern = Pattern.compile(TELEPORT_SCROLL_BOOK_PATTERN);
|
|
||||||
|
|
||||||
if (event.getOption().toLowerCase().equals("activate"))
|
if (event.getOption().toLowerCase().equals("activate"))
|
||||||
{
|
{
|
||||||
String target = event.getTarget();
|
String target = event.getTarget();
|
||||||
@@ -732,6 +729,8 @@ public class SuppliesTrackerPlugin extends Plugin
|
|||||||
case "tai bwo wannai teleport scroll":
|
case "tai bwo wannai teleport scroll":
|
||||||
buildEntries(TAI_BWO_WANNAI_TELEPORT);
|
buildEntries(TAI_BWO_WANNAI_TELEPORT);
|
||||||
break;
|
break;
|
||||||
|
case "key master teleport":
|
||||||
|
buildEntries(KEY_MASTER_TELEPORT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user