From c2293396be92403253b9f531ac3792d0b52fb1be Mon Sep 17 00:00:00 2001 From: GJ Date: Sun, 10 Feb 2013 15:57:55 -0500 Subject: [PATCH] Fixing the rest of the issues with entities.yml --- .../gmail/nossr50/mods/config/CustomEntityConfig.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/mods/config/CustomEntityConfig.java b/src/main/java/com/gmail/nossr50/mods/config/CustomEntityConfig.java index a80652eaf..763afdb5e 100644 --- a/src/main/java/com/gmail/nossr50/mods/config/CustomEntityConfig.java +++ b/src/main/java/com/gmail/nossr50/mods/config/CustomEntityConfig.java @@ -54,11 +54,11 @@ public class CustomEntityConfig extends ConfigLoader { EntityType type = EntityType.fromId(id); double xpMultiplier = config.getDouble(entityType + "." + entityName + ".XP_Multiplier", 1.0D); boolean canBeTamed = config.getBoolean(entityType + "." + entityName + ".Tameable", false); - int tamingXp = config.getInt(entityType + "." + entityName + ".Tameable.Taming_XP", 0); - boolean canBeSummoned = config.getBoolean(entityType + "." + entityName + ".Tameable.CanBeSummoned", false); - int callOfTheWildId = config.getInt(entityType + "." + entityName + ".Tameable.COTW_Material_ID", 0); - int callOfTheWildData = config.getInt(entityType + "." + entityName + ".Tameable.COTW_Material_Data", 0); - int callOfTheWildAmount = config.getInt(entityType + "." + entityName + ".Tameable.COTW_Material_Amount", 0); + int tamingXp = config.getInt(entityType + "." + entityName + "Taming_XP", 0); + boolean canBeSummoned = config.getBoolean(entityType + "." + entityName + "CanBeSummoned", false); + int callOfTheWildId = config.getInt(entityType + "." + entityName + "COTW_Material_ID", 0); + int callOfTheWildData = config.getInt(entityType + "." + entityName + "COTW_Material_Data", 0); + int callOfTheWildAmount = config.getInt(entityType + "." + entityName + "COTW_Material_Amount", 0); CustomEntity entity;