Merge pull request #3011 from SidShakal/patch-chunkRefreshRadiusFix

Correcting loop conditions related to "ghost block" mitigation.
This commit is contained in:
t00thpick1 2016-08-07 20:55:09 -04:00 committed by GitHub
commit f85c54596a

View File

@ -70,8 +70,8 @@ public class AbilityDisableTask extends BukkitRunnable {
int chunkX = chunk.getX();
int chunkZ = chunk.getZ();
for (int x = chunkX - radius; x < chunkX + radius; x++) {
for (int z = chunkZ - radius; z < chunkZ + radius; z++) {
for (int x = chunkX - radius; x <= chunkX + radius; x++) {
for (int z = chunkZ - radius; z <= chunkZ + radius; z++) {
world.refreshChunk(x, z);
}
}