openrune: NpcDefinitionChanged -> NpcChanged
This commit is contained in:
@@ -31,7 +31,7 @@ import net.runelite.api.NPC;
|
||||
* Fires after the composition of an {@link NPC} changes.
|
||||
*/
|
||||
@Value
|
||||
public class NpcDefinitionChanged implements Event
|
||||
public class NpcChanged implements Event
|
||||
{
|
||||
/**
|
||||
* The NPC of which the composition changed.
|
||||
@@ -29,7 +29,7 @@ import net.runelite.api.AnimationID;
|
||||
import net.runelite.api.NPCComposition;
|
||||
import net.runelite.api.Perspective;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.events.NpcDefinitionChanged;
|
||||
import net.runelite.api.events.NpcChanged;
|
||||
import net.runelite.api.events.NpcDespawned;
|
||||
import net.runelite.api.mixins.Copy;
|
||||
import net.runelite.api.mixins.FieldHook;
|
||||
@@ -111,7 +111,7 @@ public abstract class RSNPCMixin implements RSNPC
|
||||
}
|
||||
else if (this.getId() != -1)
|
||||
{
|
||||
client.getCallbacks().post(NpcDefinitionChanged.class, new NpcDefinitionChanged(this));
|
||||
client.getCallbacks().post(NpcChanged.class, new NpcChanged(this));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user