forked from MagicBane/Server
refactored out collection
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user