DrawMyThing: Fixed a check being in the wrong brackets

This commit is contained in:
libraryaddict 2015-05-14 09:18:35 +12:00
parent bfb5e85efd
commit 1b27e84e54

View File

@ -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)