diff options
Diffstat (limited to 'src/main/java/de/torui/coflsky')
-rw-r--r-- | src/main/java/de/torui/coflsky/CoflSkyCommand.java | 1 | ||||
-rw-r--r-- | src/main/java/de/torui/coflsky/commands/CommandType.java | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/torui/coflsky/CoflSkyCommand.java b/src/main/java/de/torui/coflsky/CoflSkyCommand.java index b48a3cd..43826f9 100644 --- a/src/main/java/de/torui/coflsky/CoflSkyCommand.java +++ b/src/main/java/de/torui/coflsky/CoflSkyCommand.java @@ -102,6 +102,7 @@ public class CoflSkyCommand extends CommandBase { } private void HandleReset() { + CoflSky.Wrapper.SendMessage(new Command<String>(CommandType.Reset,"")); CoflSky.Wrapper.stop(); Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("Stopping Connection to CoflNet")); CoflSessionManager.DeleteAllCoflSessions(); diff --git a/src/main/java/de/torui/coflsky/commands/CommandType.java b/src/main/java/de/torui/coflsky/commands/CommandType.java index 3fac287..10b1ca3 100644 --- a/src/main/java/de/torui/coflsky/commands/CommandType.java +++ b/src/main/java/de/torui/coflsky/commands/CommandType.java @@ -26,5 +26,8 @@ public enum CommandType { @SerializedName("purchaseConfirm") PurchaseConfirm, + + @SerializedName("reset") + Reset, } |