mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-23 21:39:51 +00:00
Increase precision of secondPrincessChance to 2 decimals
This commit is contained in:
1 parent
ef658020d2
commit
1844546f03
2 files changed
+5
-5
No files matched your search
@@ -354,7 +354,7 @@ public class BeekeepingLogic implements IBeekeepingLogic {
|
||||
housing.onQueenDeath(getQueen());
|
||||
|
||||
// Princess
|
||||
boolean secondPrincess = this.housing.getWorld().rand.nextInt(100) < PluginApiculture.getSecondPrincessChance();
|
||||
boolean secondPrincess = this.housing.getWorld().rand.nextInt(10000) < PluginApiculture.getSecondPrincessChance() * 100;
|
||||
int count = secondPrincess ? 2 : 1;
|
||||
while (count > 0) {
|
||||
count--;
|
||||
|
||||
Reference in new issue
Block a user