loottracker: fix tob not being recorded
* Hopefully fixes tob loot not showing. haven't been able to test it because me no good pvm Signed-off-by: PKLite <stonewall@pklite.xyz> * take out old import Signed-off-by: PKLite <stonewall@pklite.xyz> * implement Blue's change * Update LootTrackerPlugin.java * add missing import Signed-off-by: PKLite <stonewall@pklite.xyz>
This commit is contained in:
@@ -564,16 +564,18 @@ public class LootTrackerPlugin extends Plugin
|
|||||||
container = client.getItemContainer(InventoryID.CHAMBERS_OF_XERIC_CHEST);
|
container = client.getItemContainer(InventoryID.CHAMBERS_OF_XERIC_CHEST);
|
||||||
chestLooted = true;
|
chestLooted = true;
|
||||||
break;
|
break;
|
||||||
case (WidgetID.THEATRE_OF_BLOOD_GROUP_ID):
|
case (WidgetID.THEATRE_OF_BLOOD_REWARD_GROUP_ID):
|
||||||
if (chestLooted)
|
if (chestLooted)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int region = WorldPoint.fromLocalInstance(client, client.getLocalPlayer().getLocalLocation()).getRegionID();
|
|
||||||
if (region != THEATRE_OF_BLOOD_REGION)
|
if (WorldPoint.fromLocalInstance(client, client.getLocalPlayer()
|
||||||
|
.getLocalLocation()).getRegionID() != THEATRE_OF_BLOOD_REGION)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
eventType = "Theatre of Blood";
|
eventType = "Theatre of Blood";
|
||||||
container = client.getItemContainer(InventoryID.THEATRE_OF_BLOOD_CHEST);
|
container = client.getItemContainer(InventoryID.THEATRE_OF_BLOOD_CHEST);
|
||||||
chestLooted = true;
|
chestLooted = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user