Made energy warnings stay for longer
This commit is contained in:
parent
185f19fb6a
commit
77f234e5f5
@ -37,7 +37,7 @@ public class ClanEnergyTracker extends MiniPlugin
|
||||
{
|
||||
for (Player player : clan.getOnlinePlayers())
|
||||
{
|
||||
UtilTextMiddle.display(C.cRed + "Urgent", "Clan Energy is almost depleted");
|
||||
UtilTextMiddle.display(C.cRed + "Urgent", "Clan Energy is almost depleted", 20, 200, 80, player);
|
||||
UtilPlayer.message(player, F.main("Energy", "To top up your Clan's Energy, head to the shop and go to the Energy Shop!"));
|
||||
}
|
||||
}
|
||||
@ -56,7 +56,7 @@ public class ClanEnergyTracker extends MiniPlugin
|
||||
{
|
||||
for (Player player : clan.getOnlinePlayers())
|
||||
{
|
||||
UtilTextMiddle.display(C.cGold + "Warning", "Clan Energy is almost depleted");
|
||||
UtilTextMiddle.display(C.cGold + "Warning", "Clan Energy is almost depleted", 20, 150, 60, player);
|
||||
UtilPlayer.message(player, F.main("Energy", "To top up your Clan's Energy, head to the shop and go to the Energy Shop!"));
|
||||
}
|
||||
}
|
||||
@ -75,7 +75,7 @@ public class ClanEnergyTracker extends MiniPlugin
|
||||
{
|
||||
for (Player player : clan.getOnlinePlayers())
|
||||
{
|
||||
UtilTextMiddle.display(C.cYellow + "Energy", "Clan Energy is running low", player);
|
||||
UtilTextMiddle.display(C.cYellow + "Energy", "Clan Energy is running low", 20, 100, 40, player);
|
||||
UtilPlayer.message(player, F.main("Energy", "To top up your Clan's Energy, head to the shop and go to the Energy Shop!"));
|
||||
}
|
||||
}
|
||||
@ -94,7 +94,7 @@ public class ClanEnergyTracker extends MiniPlugin
|
||||
{
|
||||
for (Player player : clan.getOnlinePlayers())
|
||||
{
|
||||
UtilTextMiddle.display(C.cYellow + "Energy", "Clan Energy is running low", player);
|
||||
UtilTextMiddle.display(C.cYellow + "Energy", "Clan Energy is running low", 20, 100, 40, player);
|
||||
UtilPlayer.message(player, F.main("Energy", "To top up your Clan's Energy, head to the shop and go to the Energy Shop!"));
|
||||
}
|
||||
}
|
||||
|
@ -783,11 +783,11 @@ public class ClansUtility
|
||||
return false;
|
||||
}
|
||||
|
||||
if (clan.getClaims() >= clan.getClaimsMax())
|
||||
{
|
||||
UtilPlayer.message(caller, F.main("Clans", "Your Clan cannot claim more Territory."));
|
||||
return false;
|
||||
}
|
||||
// if (clan.getClaims() >= clan.getClaimsMax())
|
||||
// {
|
||||
// UtilPlayer.message(caller, F.main("Clans", "Your Clan cannot claim more Territory."));
|
||||
// return false;
|
||||
// }
|
||||
|
||||
// Boxed
|
||||
if (checkBox(caller.getLocation().getChunk(), 4))
|
||||
|
Loading…
Reference in New Issue
Block a user