Dieser Commit ist enthalten in:
Ursprung
be25b71cb8
Commit
2d7ae67335
@ -116,6 +116,7 @@ public class Recorder implements Listener {
|
|||||||
Trace trace = new Trace(region);
|
Trace trace = new Trace(region);
|
||||||
noExplosionRecorded.add(trace);
|
noExplosionRecorded.add(trace);
|
||||||
activeTraces.put(region, trace);
|
activeTraces.put(region, trace);
|
||||||
|
recordsToAddMap.put(trace, new ArrayList<>());
|
||||||
return manager.add(trace);
|
return manager.add(trace);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,6 +134,7 @@ public class Recorder implements Listener {
|
|||||||
for(TNTPrimed tnt : trackedTNT.getOrDefault(region, Collections.emptyList()))
|
for(TNTPrimed tnt : trackedTNT.getOrDefault(region, Collections.emptyList()))
|
||||||
historyMap.remove(tnt);
|
historyMap.remove(tnt);
|
||||||
|
|
||||||
|
recordsToAddMap.remove(trace);
|
||||||
trackedTNT.put(region, new ArrayList<>());
|
trackedTNT.put(region, new ArrayList<>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,6 +160,11 @@ public class Trace {
|
|||||||
|
|
||||||
List<ViewFlag> flagList = new ArrayList<>();
|
List<ViewFlag> flagList = new ArrayList<>();
|
||||||
|
|
||||||
|
//Manage required flags
|
||||||
|
for(ViewFlag flag: flags)
|
||||||
|
if(flag.required != null)
|
||||||
|
flagList.add(flag.required);
|
||||||
|
|
||||||
//Manage inverse flags
|
//Manage inverse flags
|
||||||
flagList.addAll(ViewFlag.inverseFlags);
|
flagList.addAll(ViewFlag.inverseFlags);
|
||||||
for(ViewFlag flag: flags){
|
for(ViewFlag flag: flags){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren