diff --git a/src/gibstick/bukkit/discosheep/DiscoSheep.java b/src/gibstick/bukkit/discosheep/DiscoSheep.java index 65571c6..d776a26 100644 --- a/src/gibstick/bukkit/discosheep/DiscoSheep.java +++ b/src/gibstick/bukkit/discosheep/DiscoSheep.java @@ -60,6 +60,9 @@ public final class DiscoSheep extends JavaPlugin { public void startParty(Player player, int duration, int sheepAmount, int radius, boolean fireworksEnabled) { if (!hasParty(player.getName())) { new DiscoParty(this, player).startDisco(duration, sheepAmount, radius, fireworksEnabled); + } else { + player.sendMessage("You has party"); } } + } diff --git a/src/gibstick/bukkit/discosheep/DiscoSheepCommandExecutor.java b/src/gibstick/bukkit/discosheep/DiscoSheepCommandExecutor.java index aa303c3..ead77a3 100644 --- a/src/gibstick/bukkit/discosheep/DiscoSheepCommandExecutor.java +++ b/src/gibstick/bukkit/discosheep/DiscoSheepCommandExecutor.java @@ -89,7 +89,7 @@ public class DiscoSheepCommandExecutor implements CommandExecutor { if (args[0].equalsIgnoreCase("all")) { if (senderHasPerm(sender, PERMISSION_ALL)) { for (Player p : Bukkit.getServer().getOnlinePlayers()) { - parent.startParty(player, duration, sheepNumber, radius, fireworks); + parent.startParty(p, duration, sheepNumber, radius, fireworks); p.sendMessage(ChatColor.RED + "LET'S DISCO!"); } } else {