diff options
author | Matthias Luger <malua007@live.de> | 2023-03-16 18:46:49 +0100 |
---|---|---|
committer | Matthias Luger <malua007@live.de> | 2023-03-16 18:46:49 +0100 |
commit | c8b75f0c72164fefc3ba375f16bd717d8ce7212b (patch) | |
tree | 743ffe5c2f79bd5bc4f3c7364e79bb2dcdbf7c00 /src | |
parent | e82c5c5eb2cff03690c71d413b6c4f724a7861fc (diff) | |
download | COFL-c8b75f0c72164fefc3ba375f16bd717d8ce7212b.tar.gz COFL-c8b75f0c72164fefc3ba375f16bd717d8ce7212b.tar.bz2 COFL-c8b75f0c72164fefc3ba375f16bd717d8ce7212b.zip |
lower case all internal openAuctionGui commands
Diffstat (limited to 'src')
-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(); |