mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 00:30:07 +01:00
Fixing the rest of the issues with entities.yml
This commit is contained in:
parent
cdbc19570d
commit
c2293396be
@ -54,11 +54,11 @@ public class CustomEntityConfig extends ConfigLoader {
|
|||||||
EntityType type = EntityType.fromId(id);
|
EntityType type = EntityType.fromId(id);
|
||||||
double xpMultiplier = config.getDouble(entityType + "." + entityName + ".XP_Multiplier", 1.0D);
|
double xpMultiplier = config.getDouble(entityType + "." + entityName + ".XP_Multiplier", 1.0D);
|
||||||
boolean canBeTamed = config.getBoolean(entityType + "." + entityName + ".Tameable", false);
|
boolean canBeTamed = config.getBoolean(entityType + "." + entityName + ".Tameable", false);
|
||||||
int tamingXp = config.getInt(entityType + "." + entityName + ".Tameable.Taming_XP", 0);
|
int tamingXp = config.getInt(entityType + "." + entityName + "Taming_XP", 0);
|
||||||
boolean canBeSummoned = config.getBoolean(entityType + "." + entityName + ".Tameable.CanBeSummoned", false);
|
boolean canBeSummoned = config.getBoolean(entityType + "." + entityName + "CanBeSummoned", false);
|
||||||
int callOfTheWildId = config.getInt(entityType + "." + entityName + ".Tameable.COTW_Material_ID", 0);
|
int callOfTheWildId = config.getInt(entityType + "." + entityName + "COTW_Material_ID", 0);
|
||||||
int callOfTheWildData = config.getInt(entityType + "." + entityName + ".Tameable.COTW_Material_Data", 0);
|
int callOfTheWildData = config.getInt(entityType + "." + entityName + "COTW_Material_Data", 0);
|
||||||
int callOfTheWildAmount = config.getInt(entityType + "." + entityName + ".Tameable.COTW_Material_Amount", 0);
|
int callOfTheWildAmount = config.getInt(entityType + "." + entityName + "COTW_Material_Amount", 0);
|
||||||
|
|
||||||
CustomEntity entity;
|
CustomEntity entity;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user