Merge pull request #775 from deathbeam/fix-you-are-fishing
Fix "You are fishing" in fishing plugin
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user