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;
|
||||
}
|
||||
MinigamePlayer mp = Minigames.plugin.pdata.getMinigamePlayer(player);
|
||||
if (!player.isOp()
|
||||
&& (!mp.isInMinigame() || mp.getMinigame().getName(false)
|
||||
.equalsIgnoreCase(KittyCannonMinigame))) {
|
||||
if (!(mp.isInMinigame() && mp.getMinigame().getName(false)
|
||||
.equalsIgnoreCase(Commands.KittyCannonMinigame))) {
|
||||
SendMessage(player,
|
||||
"§You can only use KittyCannon in it's minigame!");
|
||||
"§cYou can only use KittyCannon in it's minigame!");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue