Reformat and clean up "tools" package

This commit is contained in:
P0nk
2021-09-09 23:28:07 +02:00
parent e8ef3a492c
commit 7be1d119de
19 changed files with 793 additions and 800 deletions

View File

@@ -23,11 +23,10 @@ import net.packet.InPacket;
/**
*
* @author Ronan
*/
public class EmptyMovementException extends Exception {
public EmptyMovementException(InPacket inPacket) {
super("Empty movement: " + inPacket);
}

View File

@@ -21,13 +21,12 @@ package tools.exceptions;
/**
*
* @author Ronan
*/
public class EventInstanceInProgressException extends Exception {
public static String EIIP_KEY = "Event instance ";
public EventInstanceInProgressException(String eventName, String eventInstance) {
super(EIIP_KEY + "already in progress - " + eventName + ", EM: " + eventInstance);
}