From 41f77364aa0d25076d0048f31409c0f8ad7efcb2 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 29 Mar 2024 06:35:17 -0400 Subject: [PATCH] Cleanup of handler super calls --- src/engine/net/client/handlers/CityDataHandler.java | 7 +++++-- .../net/client/handlers/PerformActionMsgHandler.java | 3 +-- src/engine/net/client/handlers/UseCharterMsgHandler.java | 3 +-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/engine/net/client/handlers/CityDataHandler.java b/src/engine/net/client/handlers/CityDataHandler.java index 98ca60fb..e35ab28b 100644 --- a/src/engine/net/client/handlers/CityDataHandler.java +++ b/src/engine/net/client/handlers/CityDataHandler.java @@ -8,7 +8,10 @@ import engine.gameManager.ZoneManager; import engine.net.Dispatch; import engine.net.DispatchMessage; import engine.net.client.ClientConnection; -import engine.net.client.msg.*; +import engine.net.client.msg.CityDataMsg; +import engine.net.client.msg.ClientNetMsg; +import engine.net.client.msg.HotzoneChangeMsg; +import engine.net.client.msg.WorldRealmMsg; import engine.objects.City; import engine.objects.PlayerCharacter; import engine.session.Session; @@ -22,7 +25,7 @@ import engine.session.Session; public class CityDataHandler extends AbstractClientMsgHandler { public CityDataHandler() { - super(KeepAliveServerClientMsg.class); + super(CityDataMsg.class); } @Override diff --git a/src/engine/net/client/handlers/PerformActionMsgHandler.java b/src/engine/net/client/handlers/PerformActionMsgHandler.java index a8a4033e..f879960a 100644 --- a/src/engine/net/client/handlers/PerformActionMsgHandler.java +++ b/src/engine/net/client/handlers/PerformActionMsgHandler.java @@ -12,13 +12,12 @@ import engine.exception.MsgSendException; import engine.gameManager.PowersManager; import engine.net.client.ClientConnection; import engine.net.client.msg.ClientNetMsg; -import engine.net.client.msg.KeepAliveServerClientMsg; import engine.net.client.msg.PerformActionMsg; public class PerformActionMsgHandler extends AbstractClientMsgHandler { public PerformActionMsgHandler() { - super(KeepAliveServerClientMsg.class); + super(PerformActionMsg.class); } @Override diff --git a/src/engine/net/client/handlers/UseCharterMsgHandler.java b/src/engine/net/client/handlers/UseCharterMsgHandler.java index f61ea384..f7588a23 100644 --- a/src/engine/net/client/handlers/UseCharterMsgHandler.java +++ b/src/engine/net/client/handlers/UseCharterMsgHandler.java @@ -14,13 +14,12 @@ import engine.net.Dispatch; import engine.net.DispatchMessage; import engine.net.client.ClientConnection; import engine.net.client.msg.ClientNetMsg; -import engine.net.client.msg.KeepAliveServerClientMsg; import engine.net.client.msg.UseCharterMsg; public class UseCharterMsgHandler extends AbstractClientMsgHandler { public UseCharterMsgHandler() { - super(KeepAliveServerClientMsg.class); + super(UseCharterMsg.class); } @Override