Removed custom exception candy

This commit is contained in:
MagicBot committed 2024-05-12 13:42:11 -04:00
1 parent 634f1478ce
commit f8180a7000
153 files changed
+156 -339

No files matched your search

+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;