Updated hologram to display the amount of peasants in the kingdom

This commit is contained in:
LCastr0 2017-04-27 20:54:49 -03:00
parent f1670bc550
commit 601c9e31c6

View File

@ -268,7 +268,7 @@ public class CastleManager extends MiniPlugin
if (_king != null && _king.getKing().isOnline())
{
_hologram = new Hologram(_hologramManager, _hologramLocation, "Mineplex Castle", "Current King: " + F.name(_king.getKing().getName()) + "!");
_hologram = new Hologram(_hologramManager, _hologramLocation, "Mineplex Castle", "Current King: " + F.name(_king.getKing().getName()) + " (" + F.count(_king.amountOfPeasants()) + ")!");
_hologram.start();
}
else