mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-22 02:25:52 +01:00
return the pladdon that was generated.
This commit is contained in:
parent
e424560c37
commit
7441b7717f
@ -15,9 +15,13 @@ import world.bentobox.bentobox.api.addons.Pladdon;
|
||||
*/
|
||||
public class ChallengesPladdon extends Pladdon
|
||||
{
|
||||
private Addon addon;
|
||||
@Override
|
||||
public Addon getAddon()
|
||||
{
|
||||
return new ChallengesAddon();
|
||||
if (addon == null) {
|
||||
addon = new ChallengesAddon();
|
||||
}
|
||||
return addon;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user