Merge branch 'master' of https://github.com/runelite-extended/runelite into basebase

This commit is contained in:
7ate9
2019-07-01 13:15:40 -04:00
35 changed files with 1758 additions and 731 deletions

View File

@@ -112,13 +112,7 @@ public abstract class RSNPCMixin implements RSNPC
{
client.getCallbacks().post(new NpcDespawned(this));
}
}
@FieldHook("definition")
@Inject
public void afterCompositionChanged(int idx)
{
if (this.getDefinition() != null && this.getId() != -1)
else if (this.getId() != -1)
{
client.getCallbacks().post(new NpcCompositionChanged(this));
}