RecordSystem (Beta) #199
@ -24,7 +24,7 @@ import java.util.List;
|
||||
|
||||
public abstract class Recorder {
|
||||
|
||||
private static List<Recorder> recorders = new ArrayList<>();
|
||||
private static final List<Recorder> recorders = new ArrayList<>();
|
||||
|
||||
public static void rBoolean(boolean b){
|
||||
recorders.forEach((recorder) -> recorder.writeBoolean(b));
|
||||
@ -63,7 +63,8 @@ public abstract class Recorder {
|
||||
}
|
||||
|
||||
public static void closeAll(){
|
||||
recorders.forEach(Recorder::close);
|
||||
while(!recorders.isEmpty())
|
||||
recorders.get(0).close();
|
||||
}
|
||||
|
||||
protected Recorder(){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren