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)
|
||||
{
|
||||
UtilPlayer.message(player, F.main("Game", "Multiple guesses are not allowed!"));
|
||||
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -347,12 +349,12 @@ public class Draw extends SoloGame
|
||||
{
|
||||
UtilPlayer.message(player, F.main("Game", "You have already guessed the word!"));
|
||||
}
|
||||
}
|
||||
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void TextUpdate(UpdateEvent event)
|
||||
|
Loading…
Reference in New Issue
Block a user