mirror of
https://github.com/Shiewk/SModeration.git
synced 2026-04-29 06:34:17 +02:00
First version of the SMod menu and command
This commit is contained in:
@@ -53,4 +53,8 @@ public class PunishmentContainer {
|
||||
public @Nullable Punishment findByTimestamp(long timestamp){
|
||||
return find(punishment -> punishment.time == timestamp);
|
||||
}
|
||||
|
||||
public ArrayList<Punishment> copy() {
|
||||
return new ArrayList<>(punishments);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user