Update KittenNotifierPlugin.java
Prevent stack overflow, not sure if this is a complete fix, but stopped my crashes at GE
This commit is contained in:
@@ -52,6 +52,7 @@ public class KittenNotifierPlugin extends Plugin{
|
|||||||
}
|
}
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void onNpcActionChanged(NpcActionChanged event) {
|
public void onNpcActionChanged(NpcActionChanged event) {
|
||||||
|
if (event.getNpcComposition()!=null)
|
||||||
if (!config.catOwned()) {
|
if (!config.catOwned()) {
|
||||||
for (NPC npc : client.getNpcs()) {
|
for (NPC npc : client.getNpcs()) {
|
||||||
if (npc.getInteracting() != null) {
|
if (npc.getInteracting() != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user