mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Fixed Extraction Bug
* Fixed bug where extraction wouldn't give you your default ore that you used extraction on
This commit is contained in:
parent
11f3f86176
commit
391d6f8948
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue