Skip to content

Commit

Permalink
Fix me being retarded about inequality math
Browse files Browse the repository at this point in the history
  • Loading branch information
pie-flavor committed Jun 26, 2016
1 parent 6a4bd30 commit e874c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/flavor/pie/react/React.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void reload(GameReloadEvent e) throws IOException, ObjectMappingException
}
void newGame() {
if (!game.getState().equals(GameState.SERVER_STARTED)) return;
if (minPlayers > 0 && minPlayers < game.getServer().getOnlinePlayers().size()) return;
if (minPlayers > game.getServer().getOnlinePlayers().size()) return;
inGame = true;
current = words.get(random.nextInt(words.size()));
Text fullText = text.toBuilder().onHover(TextActions.showText(Text.of(current.trim()))).build();
Expand Down

0 comments on commit e874c25

Please sign in to comment.