From a70585448f39c4eb3007414b9ad6eb1fceddf098 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 29 Mar 2024 08:27:48 -0400 Subject: [PATCH] RejectTradeRequest has no handler --- src/engine/gameManager/TradeManager.java | 5 ----- src/engine/net/client/ClientMessagePump.java | 3 --- 2 files changed, 8 deletions(-) diff --git a/src/engine/gameManager/TradeManager.java b/src/engine/gameManager/TradeManager.java index 29ba69e3..9b19c7a8 100644 --- a/src/engine/gameManager/TradeManager.java +++ b/src/engine/gameManager/TradeManager.java @@ -21,11 +21,6 @@ public enum TradeManager { TRADEMANAGER; - - public static void rejectTradeRequest(RejectTradeRequestMsg msg, ClientConnection origin) { - // TODO Do nothing? If so, delete this method & case above - } - public static void addItemToTradeWindow(AddItemToTradeWindowMsg msg, ClientConnection origin) { diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index f8c05296..50028369 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -73,9 +73,6 @@ public class ClientMessagePump implements NetMsgHandler { break; case OPENVAULT: break; - case REQUESTTRADECANCEL: - TradeManager.rejectTradeRequest((RejectTradeRequestMsg) msg, origin); - break; case TRADEADDOBJECT: TradeManager.addItemToTradeWindow((AddItemToTradeWindowMsg) msg, origin); break;