Not sure if this changes anything... Probably not, whatever.
This commit is contained in:
parent
6089934ffd
commit
262c470e7d
@ -30,7 +30,7 @@ public class WorldEditExtent extends AbstractLoggingExtent {
|
|||||||
protected void onBlockChange(final Vector vec, BaseBlock baseBlock) {
|
protected void onBlockChange(final Vector vec, BaseBlock baseBlock) {
|
||||||
final Block b = BukkitUtil.toLocation(world, vec).getBlock();
|
final Block b = BukkitUtil.toLocation(world, vec).getBlock();
|
||||||
final Player p = Bukkit.getPlayerExact(actor.getName());
|
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
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
Block futureB = BukkitUtil.toLocation(world, vec).getBlock();
|
Block futureB = BukkitUtil.toLocation(world, vec).getBlock();
|
||||||
|
Loading…
Reference in New Issue
Block a user