Fixed Hylian Luck not working at all.

Fixes #1508
This commit is contained in:
GJ 2013-10-04 10:27:18 -04:00
parent 3365da7f8d
commit eb2e0d3abf

View File

@ -83,7 +83,7 @@ public class TreasureConfig extends ConfigLoader {
loadTreaures("Fishing"); loadTreaures("Fishing");
loadTreaures("Excavation"); loadTreaures("Excavation");
loadTreaures("Hylian"); loadTreaures("Hylian_Luck");
for (EntityType entity : EntityType.values()) { for (EntityType entity : EntityType.values()) {
if (entity.isAlive()) { if (entity.isAlive()) {
@ -96,7 +96,7 @@ public class TreasureConfig extends ConfigLoader {
boolean isFishing = type.equals("Fishing"); boolean isFishing = type.equals("Fishing");
boolean isShake = type.contains("Shake"); boolean isShake = type.contains("Shake");
boolean isExcavation = type.equals("Excavation"); boolean isExcavation = type.equals("Excavation");
boolean isHylian = type.equals("Hylian"); boolean isHylian = type.equals("Hylian_Luck");
ConfigurationSection treasureSection = config.getConfigurationSection(type); ConfigurationSection treasureSection = config.getConfigurationSection(type);