Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
bb489fd185
Commit
9d91c4e3eb
@ -116,6 +116,10 @@ public class TNTSimulatorListener implements Listener {
|
||||
if (simulator == null) return;
|
||||
Pair<Integer, Map<Integer, List<List<Pair<TNTData, Integer>>>>> toCalculate = simulator.locations(event.getPlayer());
|
||||
PreviewRecord previewRecord = Simulator.impl.run(toCalculate);
|
||||
if (previewRecord == null) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
previewRecord.add(event.getPlayer());
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren