From ff61433c4b0c8ac06bed94fb7d8d14a63cfd2b97 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 11 Mar 2018 16:09:28 -0400 Subject: [PATCH] Fixed typo --- .../net/simon987/cubotplugin/event/UserCreationListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);