Added "fast mode corrections"

This commit is contained in:
Matthew Miller
2018-10-15 20:50:09 +10:00
committed by IronApollo
parent 346eee8953
commit e88b8c961d
10 changed files with 101 additions and 7 deletions

View File

@ -487,6 +487,17 @@ public class BukkitWorld extends AbstractWorld {
}
}
@Override
public boolean notifyAndLightBlock(BlockVector3 position, com.sk89q.worldedit.world.block.BlockState previousType) throws WorldEditException {
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
if (adapter != null) {
adapter.notifyAndLightBlock(BukkitAdapter.adapt(getWorld(), position), previousType);
return true;
}
return false;
}
@Override
public BaseBiome getBiome(BlockVector2 position) {
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();