Browse Source

RejectTradeRequest has no handler

combat-2
MagicBot 8 months ago
parent
commit
a70585448f
  1. 5
      src/engine/gameManager/TradeManager.java
  2. 3
      src/engine/net/client/ClientMessagePump.java

5
src/engine/gameManager/TradeManager.java

@ -21,11 +21,6 @@ public enum TradeManager { @@ -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) {

3
src/engine/net/client/ClientMessagePump.java

@ -73,9 +73,6 @@ public class ClientMessagePump implements NetMsgHandler { @@ -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;

Loading…
Cancel
Save