diff --git a/main/src/main/java/net/citizensnpcs/Citizens.java b/main/src/main/java/net/citizensnpcs/Citizens.java index ff0c3f5fa..bb6c2ba92 100644 --- a/main/src/main/java/net/citizensnpcs/Citizens.java +++ b/main/src/main/java/net/citizensnpcs/Citizens.java @@ -404,7 +404,7 @@ public class Citizens extends JavaPlugin implements CitizensPlugin { npcRegistry = new CitizensNPCRegistry(saves, "citizens"); traitFactory = new CitizensTraitFactory(); traitFactory.registerTrait(TraitInfo.create(ShopTrait.class).withSupplier(() -> { - return new ShopTrait(); + return new ShopTrait(shops); })); selector = new NPCSelector(this);