Return pladdon that was made.

This commit is contained in:
tastybento 2024-07-02 09:32:35 -07:00
parent c0653790b1
commit b641d0f450

View File

@ -9,8 +9,14 @@ import world.bentobox.bentobox.api.addons.Pladdon;
*
*/
public class LevelPladdon extends Pladdon {
private Addon addon;
@Override
public Addon getAddon() {
return new Level();
if (addon == null) {
addon = new Level();
}
return addon;
}
}