XPdrop: Don't show damage indicators on fishing spots (#133)

This commit is contained in:
Lucwousin
2019-04-26 13:32:43 +02:00
committed by Kyleeld
parent ebb09f44ae
commit 6ec7427a15

View File

@@ -378,6 +378,11 @@ public class XpDropPlugin extends Plugin
lastTime = Instant.now();
return;
}
else if (opponent.getName().equalsIgnoreCase("fishing spot"))
{
lastTime = Instant.now().minus(WAIT);
return;
}
damage = 0;
lastOpponent = opponent;