mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 17:16:11 +00:00
fix #2292
This commit is contained in:
parent
d9463ce8b5
commit
79a2c14caa
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user