From 086076ab5862acb9d5fc68bae44354ac563b950f Mon Sep 17 00:00:00 2001 From: Yaruma3341 Date: Sun, 14 Apr 2019 01:47:03 +0200 Subject: [PATCH] hotfix Signed-off-by: Yaruma3341 --- src/me/yaruma/fightsystem/fight/FightTeam.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/me/yaruma/fightsystem/fight/FightTeam.java b/src/me/yaruma/fightsystem/fight/FightTeam.java index c0d62e8..5146633 100644 --- a/src/me/yaruma/fightsystem/fight/FightTeam.java +++ b/src/me/yaruma/fightsystem/fight/FightTeam.java @@ -152,7 +152,12 @@ public class FightTeam { } schem.paste(w, v, false, true, aT).flushQueue(); teleportToSpawn(); - WinconditionTechKO.addWater(); + Bukkit.getScheduler().scheduleSyncDelayedTask(FightSystem.getPlugin(), new Runnable() { + @Override + public void run() { + WinconditionTechKO.addWater(); + } + }, 20*10L); } public void setSchematic(Schematic schematic){