Update Config.java

Aromatic Lump Swarmer now possible for the slot of Swarmer and has the swarm chance of aromaticLumpSwarmerRate , it is a bug since Magic Bees 2.0.0
This commit is contained in:
TataTawa authored and GitHub committed 2020-07-27 03:15:21 +00:00
1 parent 989bb6f917
commit 59d2f6bdb0
1 file changed
+1 -1
+1 -1
View File
@@ -508,7 +508,7 @@ public class Config
private void setupMiscForestryItemHooks() {
// Make Aromatic Lumps a swarmer inducer. Chance is /1000.
if (aromaticLumpSwarmerRate <= 0) {
if (aromaticLumpSwarmerRate > 0) {
aromaticLumpSwarmerRate = (aromaticLumpSwarmerRate >= 1000) ? 1000: aromaticLumpSwarmerRate;
BeeManager.inducers.put(miscResources.getStackForType(ResourceType.AROMATIC_LUMP), aromaticLumpSwarmerRate);
}