From 3ff567f0c355a404ac4d17e58b34ff01e779303f Mon Sep 17 00:00:00 2001 From: bdew Date: Thu, 18 Sep 2014 17:39:44 +0300 Subject: [PATCH] Fixed bee descriptions using wrong key (closes #50) --- src/net/bdew/gendustry/custom/BeeSpecies.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/bdew/gendustry/custom/BeeSpecies.scala b/src/net/bdew/gendustry/custom/BeeSpecies.scala index 489f3bd..3ba0607 100644 --- a/src/net/bdew/gendustry/custom/BeeSpecies.scala +++ b/src/net/bdew/gendustry/custom/BeeSpecies.scala @@ -56,8 +56,8 @@ class BeeSpecies(cfg: ConfigSection, ident: String) extends IAlleleBeeSpecies { override val getAuthority = cfg.getString("Authority") override val getBinomial = cfg.getString("Binominal") override val getDescription = - if (Misc.hasLocal("gendustry.bee.species." + ident + ".description")) - Misc.toLocal("gendustry.bee.species." + ident + ".description") + if (Misc.hasLocal("gendustry.bees.species." + ident + ".description")) + Misc.toLocal("gendustry.bees.species." + ident + ".description") else "" // IAlleleBeeSpecies