Updates to FaweLocalBlockQueue to allow FAWE-P2 compatibility

This commit is contained in:
IronApollo
2018-11-01 07:24:56 -04:00
parent dcd041e847
commit 9896a1339e
2 changed files with 23 additions and 15 deletions

View File

@ -278,7 +278,12 @@ public abstract class BukkitQueue_0<CHUNK, CHUNKSECTIONS, SECTION> extends NMSMa
public void sendChunk(int x, int z, int bitMask) {}
@Override
public void refreshChunk(FaweChunk fs) {}
public void refreshChunk(FaweChunk fs) {
World world = getWorld();
if(world != null) {
world.refreshChunk(fs.getX(), fs.getZ());
}
}
@Override
public boolean regenerateChunk(World world, int x, int z, BaseBiome biome, Long seed) {