Skip to content

Commit

Permalink
Fixes Issue #5
Browse files Browse the repository at this point in the history
  • Loading branch information
graywolf336 committed Mar 31, 2012
1 parent 9e7b6a0 commit caa7246
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugin.yml
@@ -1,6 +1,6 @@
name: CasinoSlots
main: com.craftyn.casinoslots.CasinoSlots
version: 2.15.2
version: 2.15.3
description: Real slot machines for your server.
softdepend: [Vault]
commands:
Expand Down
10 changes: 6 additions & 4 deletions src/com/craftyn/casinoslots/slot/game/ResultsTask.java
Expand Up @@ -126,10 +126,12 @@ private ArrayList<Reward> getResults() {

int id = current.get(0).getTypeId();
reward = game.getType().getReward(id);
// Break loop if and don't reward for something that doesn't have a reward.
if (reward == null) {
break;
}

// Break loop if and don't reward for something that doesn't have a reward.
if (reward == null) {
break;
}

results.add(reward);
}
}
Expand Down

0 comments on commit caa7246

Please sign in to comment.