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
@@ -9,7 +9,6 @@
package engine.gameManager;
import engine.InterestManagement.InterestManager;
import engine.exception.MsgSendException;
import engine.math.Bounds;
import engine.math.Vector3f;
import engine.math.Vector3fImmutable;
@@ -60,7 +59,7 @@ public enum MovementManager {
* target upon each move, unless something has set the firstHitCombatTarget
* Also used to determine the size of a monster's hitbox
*/
public static void movement(MoveToPointMsg msg, AbstractCharacter toMove) throws MsgSendException {
public static void movement(MoveToPointMsg msg, AbstractCharacter toMove) {
// check for stun/root
if (!toMove.isAlive())
@@ -348,7 +347,7 @@ public enum MovementManager {
// Handle formation movement in group
public static void moveGroup(PlayerCharacter pc, ClientConnection origin, MoveToPointMsg msg) throws MsgSendException {
public static void moveGroup(PlayerCharacter pc, ClientConnection origin, MoveToPointMsg msg) {
// get forward vector
Vector3f faceDir = new Vector3f(pc.getFaceDir().x, 0, pc.getFaceDir().z).normalize();
// get perpendicular vector