mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-02-18 20:31:41 +01:00
Fixed child count.
This commit is contained in:
parent
00423da2ef
commit
dbe1f925cc
@ -164,6 +164,6 @@ public class Loot {
|
|||||||
|
|
||||||
public int getChildDropCount() {
|
public int getChildDropCount() {
|
||||||
if (childDropCountMin == null || childDropCountMax == null) return 0;
|
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