Fixed Extraction Bug

* Fixed bug where extraction wouldn't give you your default ore that you used extraction on
This commit is contained in:
jack lin 2014-08-28 17:57:35 +12:00
parent 11f3f86176
commit 391d6f8948

View file

@ -59,7 +59,7 @@ public class Extraction {
private int getAmount() { private int getAmount() {
Random rand = new Random(); Random rand = new Random();
return rand.nextInt(99) + 1 <= triplechance ? 3 : rand.nextInt(99) + 1 <= doublechance ? 2: 0; return rand.nextInt(99) + 1 <= triplechance ? 3 : rand.nextInt(99) + 1 <= doublechance ? 2: 1;
} }
} }