Merge pull request #775 from deathbeam/fix-you-are-fishing

Fix "You are fishing" in fishing plugin
This commit is contained in:
Adam
2018-03-02 16:58:05 -05:00
committed by GitHub

View File

@@ -78,7 +78,8 @@ class FishingOverlay extends Overlay
}
panelComponent.getLines().clear();
if (client.getLocalPlayer().getInteracting() != null && client.getLocalPlayer().getInteracting().getName().equals(FISHING_SPOT))
if (client.getLocalPlayer().getInteracting() != null && client.getLocalPlayer().getInteracting().getName()
.contains(FISHING_SPOT))
{
panelComponent.setTitle("You are fishing");
panelComponent.setTitleColor(Color.GREEN);