From 25487ad0b1089de5a8df176590a809354e99304a Mon Sep 17 00:00:00 2001 From: LCastr0 Date: Wed, 26 Apr 2017 11:17:03 -0300 Subject: [PATCH] Fix message prefix --- .../core/gadget/gadgets/particle/king/ParticleKing.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/particle/king/ParticleKing.java b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/particle/king/ParticleKing.java index 8598ef2da..4b85b754d 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/particle/king/ParticleKing.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/particle/king/ParticleKing.java @@ -142,7 +142,7 @@ public class ParticleKing extends ParticleGadget // Checks if the clicked player isn't cooling down if (isPlayerCoolingDown(clicked)) { - UtilPlayer.message(clicker, F.main("King", "You can't tag " + F.name(clicked.getName()) + " yet! That player is cooling down!")); + UtilPlayer.message(clicker, F.main("Kingdom", "You can't tag " + F.name(clicked.getName()) + " yet! That player is cooling down!")); return; } @@ -152,13 +152,13 @@ public class ParticleKing extends ParticleGadget if (king.hasPeasant(clicked)) { king.removePeasant(clicked); - UtilPlayer.message(king.getKing(), F.main("King", "" + F.name(clicker.getName()) + " stole one of your peasants! You now have " + F.count(king.amountOfPeasants()) + " peasants!")); + UtilPlayer.message(king.getKing(), F.main("Kingdom", "" + F.name(clicker.getName()) + " stole one of your peasants! You now have " + F.count(king.amountOfPeasants()) + " peasants!")); } // Finally, adds the player to the king that clicked the player else if (king.getKing().equals(clicker)) { king.addPeasant(clicked); - UtilPlayer.message(clicker, F.main("King", "You tagged " + F.name(clicked.getName()) + " as a peasant! You now have " + F.count(king.amountOfPeasants()) + " peasants!")); + UtilPlayer.message(clicker, F.main("Kingdom", "You tagged " + F.name(clicked.getName()) + " as a peasant! You now have " + F.count(king.amountOfPeasants()) + " peasants!")); } } updateKing(); @@ -189,7 +189,7 @@ public class ParticleKing extends ParticleGadget if (king.hasPeasant(event.getPlayer())) { king.removePeasant(event.getPlayer()); - UtilPlayer.message(king.getKing(), F.main("King", "The peasant " + F.name(event.getPlayer().getName()) + " left your kingdom! You now have " + F.count(king.amountOfPeasants()) + " peasants!")); + UtilPlayer.message(king.getKing(), F.main("Kingdom", "The peasant " + F.name(event.getPlayer().getName()) + " left your kingdom! You now have " + F.count(king.amountOfPeasants()) + " peasants!")); } } _kings.removeIf(king -> king.getKing().equals(event.getPlayer()));