Removed custom exception candy

This commit is contained in:
2024-05-12 13:42:11 -04:00
parent 634f1478ce
commit f8180a7000
153 changed files with 156 additions and 339 deletions
@@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.PowersManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@@ -21,7 +20,7 @@ public class PerformActionMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PerformActionMsg msg = (PerformActionMsg) baseMsg;
PowersManager.usePower(msg, origin, false); // Wtf ?