Merge pull request #8862 from xDemoN/cannon-decay

Remove Ammo Counter Overlay when Cannon Degrades
This commit is contained in:
Tomas Slusny
2019-05-18 14:36:28 +02:00
committed by GitHub

View File

@@ -295,7 +295,8 @@ public class CannonPlugin extends Plugin
cballsLeft = 0; cballsLeft = 0;
} }
if (event.getMessage().contains("You pick up the cannon")) if (event.getMessage().contains("You pick up the cannon")
|| event.getMessage().contains("Your cannon has decayed. Speak to Nulodion to get a new one!"))
{ {
cannonPlaced = false; cannonPlaced = false;
cballsLeft = 0; cballsLeft = 0;