diff --git a/src/main/java/world/bentobox/greenhouses/GreenhousesPladdon.java b/src/main/java/world/bentobox/greenhouses/GreenhousesPladdon.java index 336bdfb..6a3c182 100644 --- a/src/main/java/world/bentobox/greenhouses/GreenhousesPladdon.java +++ b/src/main/java/world/bentobox/greenhouses/GreenhousesPladdon.java @@ -10,9 +10,13 @@ import world.bentobox.bentobox.api.addons.Pladdon; */ public class GreenhousesPladdon extends Pladdon { + private Addon addon; @Override public Addon getAddon() { - return new Greenhouses(); + if (addon == null) { + addon = new Greenhouses(); + } + return addon; } }