From 79a2c14caacee4fdd64e51e43fde382118750781 Mon Sep 17 00:00:00 2001 From: Jordan Date: Tue, 13 Jun 2023 19:12:24 +0200 Subject: [PATCH] fix #2292 --- .../src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index 7afe0aaff..a9ba45afe 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -676,13 +676,13 @@ public class BukkitWorld extends AbstractWorld { @Override public void refreshChunk(int chunkX, int chunkZ) { - testCoords(BlockVector3.at(chunkX << 16, 0, chunkZ << 16)); + testCoords(BlockVector3.at(chunkX << 4, 0, chunkZ << 4)); getWorld().refreshChunk(chunkX, chunkZ); } @Override public IChunkGet get(int chunkX, int chunkZ) { - testCoords(BlockVector3.at(chunkX << 16, 0, chunkZ << 16)); + testCoords(BlockVector3.at(chunkX << 4, 0, chunkZ << 4)); return WorldEditPlugin.getInstance().getBukkitImplAdapter().get(getWorldChecked(), chunkX, chunkZ); }