add setter for NPCComposition

This commit is contained in:
Sundar-Gandu
2022-03-31 14:48:33 -04:00
committed by GitHub
parent 5078be94b6
commit bf4c3d665f
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)