diff --git a/Plugin Cubot/src/main/java/net/simon987/cubotplugin/event/UserCreationListener.java b/Plugin Cubot/src/main/java/net/simon987/cubotplugin/event/UserCreationListener.java index 18ef2af..2365d9d 100644 --- a/Plugin Cubot/src/main/java/net/simon987/cubotplugin/event/UserCreationListener.java +++ b/Plugin Cubot/src/main/java/net/simon987/cubotplugin/event/UserCreationListener.java @@ -51,7 +51,7 @@ public class UserCreationListener implements GameEventListener { cubot.setHp(config.getInt("cubot_max_hp")); cubot.setMaxHp(config.getInt("cubot_max_hp")); - cubot.setMaxShield(config.getInt("cubot_max_hp")); + cubot.setMaxShield(config.getInt("cubot_max_shield")); cubot.setParent(user); user.setControlledUnit(cubot);