Initial Commit 1.12 Support #80
@ -270,6 +270,9 @@ public class TNTTracer15 {
|
|||||||
|
|
||||||
static void explode(TNTPrimed tntPrimed) {
|
static void explode(TNTPrimed tntPrimed) {
|
||||||
if (tntFrames.isEmpty()) return;
|
if (tntFrames.isEmpty()) return;
|
||||||
|
if (System.currentTimeMillis() - lastExplosion > 4500) {
|
||||||
|
ShowManager.dirty();
|
||||||
|
}
|
||||||
lastExplosion = System.currentTimeMillis();
|
lastExplosion = System.currentTimeMillis();
|
||||||
tntFrames.getLast().explode(tntPrimed);
|
tntFrames.getLast().explode(tntPrimed);
|
||||||
}
|
}
|
||||||
@ -313,9 +316,7 @@ public class TNTTracer15 {
|
|||||||
tntFrames.addLast(new TNTFrame());
|
tntFrames.addLast(new TNTFrame());
|
||||||
task = Bukkit.getScheduler().runTaskTimer(BauSystem.getPlugin(), TNTTracer15::run, 1, 1);
|
task = Bukkit.getScheduler().runTaskTimer(BauSystem.getPlugin(), TNTTracer15::run, 1, 1);
|
||||||
current = System.currentTimeMillis();
|
current = System.currentTimeMillis();
|
||||||
if (status == Status.RECORD_AUTO) {
|
run();
|
||||||
run();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (status == Status.RECORD_AUTO) {
|
if (status == Status.RECORD_AUTO) {
|
||||||
current = System.currentTimeMillis();
|
current = System.currentTimeMillis();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren