Fix the energy shop
This commit is contained in:
parent
1e7d36112b
commit
923849c3f9
@ -7,6 +7,7 @@ import mineplex.core.MiniPlugin;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.game.clans.core.ClaimLocation;
|
||||
import mineplex.game.clans.shop.energy.EnergyShop;
|
||||
|
||||
public class ClanEnergyManager extends MiniPlugin implements Runnable
|
||||
{
|
||||
@ -21,6 +22,8 @@ public class ClanEnergyManager extends MiniPlugin implements Runnable
|
||||
|
||||
_clansManager = clansManager;
|
||||
|
||||
new EnergyShop(this, clansManager.getClientManager(), clansManager.getDonationManager());
|
||||
|
||||
// Wait 5 seconds and then tick every 60 seconds
|
||||
_plugin.getServer().getScheduler().runTaskTimer(_plugin, this, 20 * 5, 20 * 60);
|
||||
ClansQueueMessenger.getMessenger(UtilServer.getServerName()).registerListener(QueuePauseUpdateMessage.class, (pause, origin) ->
|
||||
|
Loading…
Reference in New Issue
Block a user