refactored out collection

This commit is contained in:
MagicBot committed 2024-04-19 09:03:35 -04:00
1 parent dbd4c5d246
commit 18587e281f
4 files changed
+4 -12

No files matched your search

+1 -3
View File
@@ -871,10 +871,8 @@ public class NPC extends AbstractCharacter {
// If NPC is a vendor then configure ForgeManager support
if (this.contract.isTrainer() == false) {
ForgeManager.vendorItemLookup.computeIfAbsent(this, k -> new ArrayList<>()); // Forge lookup
if (this.contract.isTrainer() == false)
ForgeManager.vendorWorkOrderLookup.computeIfAbsent(this, k -> new ArrayList<>());
}
this.symbol = this.contract.getIconID();
this.modTypeTable = this.contract.getNPCModTypeTable();