mirror of
https://github.com/BentoBoxWorld/Greenhouses.git
synced 2024-11-22 02:25:50 +01:00
Return the pladdon that was made
This commit is contained in:
parent
93e3152efc
commit
a51e9860f5
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user