Merge pull request #12530 from Matthew-nop/Timers-CannonWorld

timers: add world placed to cannon timer tooltip
This commit is contained in:
Jordan
2020-09-24 20:39:16 -07:00
committed by GitHub

View File

@@ -518,7 +518,8 @@ public class TimersPlugin extends Plugin
if (config.showCannon() && (event.getMessage().equals(CANNON_FURNACE_MESSAGE) || event.getMessage().contains(CANNON_REPAIR_MESSAGE)))
{
createGameTimer(CANNON);
TimerTimer cannonTimer = createGameTimer(CANNON);
cannonTimer.setTooltip(cannonTimer.getTooltip() + " - World " + client.getWorld());
}
if (config.showCannon() && event.getMessage().equals(CANNON_PICKUP_MESSAGE))