mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
fix #2292
This commit is contained in:
parent
d9463ce8b5
commit
79a2c14caa
@ -676,13 +676,13 @@ public class BukkitWorld extends AbstractWorld {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void refreshChunk(int chunkX, int chunkZ) {
|
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);
|
getWorld().refreshChunk(chunkX, chunkZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IChunkGet get(int chunkX, int chunkZ) {
|
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);
|
return WorldEditPlugin.getInstance().getBukkitImplAdapter().get(getWorldChecked(), chunkX, chunkZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user