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
+2 -3
View File
@@ -8,7 +8,6 @@
package engine.gameManager;
import engine.exception.MsgSendException;
import engine.mbEnums;
import engine.net.Dispatch;
import engine.net.client.ClientConnection;
@@ -45,12 +44,12 @@ public enum GroupManager {
}
public static void LeaveGroup(ClientConnection origin) throws MsgSendException {
public static void LeaveGroup(ClientConnection origin) {
PlayerCharacter source = SessionManager.getPlayerCharacter(origin);
LeaveGroup(source);
}
public static void LeaveGroup(PlayerCharacter source) throws MsgSendException {
public static void LeaveGroup(PlayerCharacter source) {
if (source == null)
return;