Fixed KittyCannon...
This commit is contained in:
parent
682af5c0a0
commit
788e15a22d
4 changed files with 3 additions and 4 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -608,11 +608,10 @@ public class Commands implements CommandExecutor {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MinigamePlayer mp = Minigames.plugin.pdata.getMinigamePlayer(player);
|
MinigamePlayer mp = Minigames.plugin.pdata.getMinigamePlayer(player);
|
||||||
if (!player.isOp()
|
if (!(mp.isInMinigame() && mp.getMinigame().getName(false)
|
||||||
&& (!mp.isInMinigame() || mp.getMinigame().getName(false)
|
.equalsIgnoreCase(Commands.KittyCannonMinigame))) {
|
||||||
.equalsIgnoreCase(KittyCannonMinigame))) {
|
|
||||||
SendMessage(player,
|
SendMessage(player,
|
||||||
"§You can only use KittyCannon in it's minigame!");
|
"§cYou can only use KittyCannon in it's minigame!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue