Add dirtyFlag after explode
Dieser Commit ist enthalten in:
Ursprung
4eed29d7d6
Commit
6c625c51c0
@ -270,6 +270,9 @@ public class TNTTracer15 {
|
||||
|
||||
static void explode(TNTPrimed tntPrimed) {
|
||||
if (tntFrames.isEmpty()) return;
|
||||
if (System.currentTimeMillis() - lastExplosion > 4500) {
|
||||
ShowManager.dirty();
|
||||
}
|
||||
lastExplosion = System.currentTimeMillis();
|
||||
tntFrames.getLast().explode(tntPrimed);
|
||||
}
|
||||
@ -313,10 +316,8 @@ public class TNTTracer15 {
|
||||
tntFrames.addLast(new TNTFrame());
|
||||
task = Bukkit.getScheduler().runTaskTimer(BauSystem.getPlugin(), TNTTracer15::run, 1, 1);
|
||||
current = System.currentTimeMillis();
|
||||
if (status == Status.RECORD_AUTO) {
|
||||
run();
|
||||
}
|
||||
}
|
||||
if (status == Status.RECORD_AUTO) {
|
||||
current = System.currentTimeMillis();
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren