Merge pull request #3154 from Sundar-Gandu/NPCComposition

This commit is contained in:
Owain van Brakel
2022-04-06 23:30:20 +02:00
committed by GitHub
3 changed files with 12 additions and 0 deletions

View File

@@ -102,6 +102,13 @@ public abstract class RSNPCMixin implements RSNPC
npcIndex = id;
}
@Inject
@Override
public void setComposition(NPCComposition composition)
{
setComposition((RSNPCComposition) composition);
}
@FieldHook(value = "definition", before = true)
@Inject
public void onDefinitionChanged(RSNPCComposition composition)