DrawMyThing: Fixed a check being in the wrong brackets
This commit is contained in:
parent
bfb5e85efd
commit
1b27e84e54
@ -313,6 +313,8 @@ public class Draw extends SoloGame
|
|||||||
if (++wordsInMessage >= 3)
|
if (++wordsInMessage >= 3)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(player, F.main("Game", "Multiple guesses are not allowed!"));
|
UtilPlayer.message(player, F.main("Game", "Multiple guesses are not allowed!"));
|
||||||
|
|
||||||
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -347,10 +349,10 @@ public class Draw extends SoloGame
|
|||||||
{
|
{
|
||||||
UtilPlayer.message(player, F.main("Game", "You have already guessed the word!"));
|
UtilPlayer.message(player, F.main("Game", "You have already guessed the word!"));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user