fix: wait until initialised for nameplates
This commit is contained in:
parent
fb88b30c93
commit
004e95ec8a
|
@ -62,7 +62,7 @@ namespace NominaOcculta {
|
||||||
|
|
||||||
private void OnNamePlateUpdate(NamePlateUpdateEventArgs args) {
|
private void OnNamePlateUpdate(NamePlateUpdateEventArgs args) {
|
||||||
// only replace nameplates that have objects in the table
|
// only replace nameplates that have objects in the table
|
||||||
if (!this.Plugin.Config.Enabled || args.ObjectId == 0xE0000000) {
|
if (!this.Plugin.Config.Enabled || !this.Plugin.NameRepository.Initialised || args.ObjectId == 0xE0000000) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue