From 262c470e7dfac54c36478b37aafdd48a247c1f70 Mon Sep 17 00:00:00 2001 From: Richard Date: Thu, 24 Dec 2015 22:28:38 -0200 Subject: [PATCH] Not sure if this changes anything... Probably not, whatever. --- src/me/TheBukor/SkStuff/events/WorldEditExtent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/me/TheBukor/SkStuff/events/WorldEditExtent.java b/src/me/TheBukor/SkStuff/events/WorldEditExtent.java index a37a78a..5f6208d 100644 --- a/src/me/TheBukor/SkStuff/events/WorldEditExtent.java +++ b/src/me/TheBukor/SkStuff/events/WorldEditExtent.java @@ -30,11 +30,11 @@ public class WorldEditExtent extends AbstractLoggingExtent { protected void onBlockChange(final Vector vec, BaseBlock baseBlock) { final Block b = BukkitUtil.toLocation(world, vec).getBlock(); final Player p = Bukkit.getPlayerExact(actor.getName()); - Bukkit.getScheduler().scheduleSyncDelayedTask(new SkStuff(), new Runnable() { + Bukkit.getScheduler().scheduleSyncDelayedTask(new SkStuff(), new Runnable() { //Wait 1 tick to get the future block @Override public void run() { Block futureB = BukkitUtil.toLocation(world, vec).getBlock(); - Bukkit.getPluginManager().callEvent(new EvtWorldEditChange(p, b, futureB)); + Bukkit.getPluginManager().callEvent(new EvtWorldEditChange(p, b, futureB)); } }, 1L); }