mirror of
https://github.com/GTNewHorizons/gendustry.git
synced 2026-11-27 23:45:37 +00:00
REALLY fixed custom bees product chances, i hope
This commit is contained in:
1 parent
efc638a428
commit
a8fecd9203
1 file changed
+2
-2
@@ -83,8 +83,8 @@ class BeeSpecies(cfg: ConfigSection, ident: String) extends IAlleleBeeSpecies {
|
||||
val specialty = prepareLootList("Specialty")
|
||||
specialty.foreach(x => Gendustry.logDebug(" [%.1f%%] %s", x._2, x._1))
|
||||
|
||||
override val getProducts = products.map(x => x._1 -> Int.box(x._2.round * 100)).asJava
|
||||
override val getSpecialty = specialty.map(x => x._1 -> Int.box(x._2.round * 100)).asJava
|
||||
override val getProducts = products.map(x => x._1 -> Int.box((x._2 * 100).round)).asJava
|
||||
override val getSpecialty = specialty.map(x => x._1 -> Int.box((x._2 * 100).round)).asJava
|
||||
|
||||
override val isNocturnal = cfg.getBoolean("Nocturnal")
|
||||
override val getRoot = AlleleManager.alleleRegistry.getSpeciesRoot("rootBees").asInstanceOf[IBeeRoot]
|
||||
|
||||
Reference in new issue
Block a user