diff options
-rw-r--r-- | src/main/java/de/torui/coflsky/WSCommandHandler.java | 2 | ||||
-rw-r--r-- | src/main/java/de/torui/coflsky/handlers/EventRegistry.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/torui/coflsky/WSCommandHandler.java b/src/main/java/de/torui/coflsky/WSCommandHandler.java index 83e9222..8d22b62 100644 --- a/src/main/java/de/torui/coflsky/WSCommandHandler.java +++ b/src/main/java/de/torui/coflsky/WSCommandHandler.java @@ -166,7 +166,7 @@ public class WSCommandHandler { private static IChatComponent CommandToChatComponent(ChatMessageData wcmd, String fullMessage) { if (wcmd.OnClick != null) { if (wcmd.Text != null && wcmd.OnClick.startsWith("/viewauction")) { - lastOnClickEvent = "/cofl openAuctionGUI " + wcmd.OnClick.split(" ")[1] + " false"; + lastOnClickEvent = "/cofl openauctiongui " + wcmd.OnClick.split(" ")[1] + " false"; } else { lastOnClickEvent = "/cofl callback " + wcmd.OnClick; } diff --git a/src/main/java/de/torui/coflsky/handlers/EventRegistry.java b/src/main/java/de/torui/coflsky/handlers/EventRegistry.java index a88e703..81300ad 100644 --- a/src/main/java/de/torui/coflsky/handlers/EventRegistry.java +++ b/src/main/java/de/torui/coflsky/handlers/EventRegistry.java @@ -68,7 +68,7 @@ public class EventRegistry { if (WSCommandHandler.lastOnClickEvent != null) { FlipData f = WSCommandHandler.flipHandler.fds.GetLastFlip(); if (f != null) { - WSCommandHandler.Execute("/cofl openAuctionGUI " + f.Id + " false", + WSCommandHandler.Execute("/cofl openauctiongui " + f.Id + " false", Minecraft.getMinecraft().thePlayer); } } @@ -80,7 +80,7 @@ public class EventRegistry { FlipData f = WSCommandHandler.flipHandler.fds.GetHighestFlip(); if (f != null) { - WSCommandHandler.Execute("/cofl openAuctionGUI " + f.Id + " true", + WSCommandHandler.Execute("/cofl openauctiongui " + f.Id + " true", Minecraft.getMinecraft().thePlayer); EventRegistry.LastViewAuctionUUID = f.Id; EventRegistry.LastViewAuctionInvocation = System.currentTimeMillis(); |