Fix formatting

This commit is contained in:
Rammelkast committed 2022-01-15 17:03:32 +01:00
1 parent 3a48e8c602
commit c3fffbd68a
1 file changed
+31 -30
@@ -31,43 +31,44 @@ import com.rammelkast.anticheatreloaded.util.User;
*/ */
public final class PlayerPunishEvent extends Event implements Cancellable { public final class PlayerPunishEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
private final User user; private final User user;
private final List<String> actions; private final List<String> actions;
private boolean cancelled; private boolean cancelled;
public PlayerPunishEvent(final User user, final List<String> actions) { public PlayerPunishEvent(final User user, final List<String> actions) {
this.user = user; this.user = user;
this.actions = actions; this.actions = actions;
} }
/** /**
* Get the {@link com.rammelkast.anticheatreloaded.util.User} who failed the check * Get the {@link com.rammelkast.anticheatreloaded.util.User} who will be
* * punished
* @return a {@link com.rammelkast.anticheatreloaded.util.User} *
*/ * @return a {@link com.rammelkast.anticheatreloaded.util.User}
public User getUser() { */
return user; public User getUser() {
} return user;
}
/** /**
* Get the list of actions the punishment will perform * Get the list of actions the punishment will perform
* *
* @return a a list of punishment strings * @return a a list of punishment strings
*/ */
public List<String> getActions() { public List<String> getActions() {
return actions; return actions;
} }
public HandlerList getHandlers() { public HandlerList getHandlers() {
return handlers; return handlers;
} }
public static HandlerList getHandlerList() { public static HandlerList getHandlerList() {
return handlers; return handlers;
} }
@Override @Override
public boolean isCancelled() { public boolean isCancelled() {