We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ffa74 commit 6b5b440Copy full SHA for 6b5b440
src/main/java/world/bentobox/magiccobblestonegenerator/StoneGeneratorPladdon.java
@@ -16,9 +16,14 @@
16
*/
17
public class StoneGeneratorPladdon extends Pladdon
18
{
19
+ private Addon addon;
20
+
21
@Override
22
public Addon getAddon()
23
- return new StoneGeneratorAddon();
24
+ if (addon == null) {
25
+ addon = new StoneGeneratorAddon();
26
+ }
27
+ return addon;
28
}
29
0 commit comments