mirror of
https://github.com/BentoBoxWorld/Warps.git
synced 2024-11-21 18:15:17 +01:00
Return pladdon that was made.
This commit is contained in:
parent
2e13892ab8
commit
87f3ea732b
@ -6,9 +6,13 @@ import world.bentobox.bentobox.api.addons.Pladdon;
|
||||
|
||||
|
||||
public class WarpsPladdon extends Pladdon {
|
||||
private Addon addon;
|
||||
|
||||
@Override
|
||||
public Addon getAddon() {
|
||||
return new Warp();
|
||||
if (addon == null) {
|
||||
addon = new Warp();
|
||||
}
|
||||
return addon;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user