mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-27 04:25:21 +01:00
Fixed child count.
This commit is contained in:
parent
00423da2ef
commit
dbe1f925cc
@ -164,6 +164,6 @@ public class Loot {
|
||||
|
||||
public int getChildDropCount() {
|
||||
if (childDropCountMin == null || childDropCountMax == null) return 0;
|
||||
return new Random().nextInt(childDropCountMax - childDropCountMax) + childDropCountMin;
|
||||
return new Random().nextInt(childDropCountMax - min + 1) + childDropCountMin;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user