mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Merge pull request #3011 from SidShakal/patch-chunkRefreshRadiusFix
Correcting loop conditions related to "ghost block" mitigation.
This commit is contained in:
commit
f85c54596a
@ -70,8 +70,8 @@ public class AbilityDisableTask extends BukkitRunnable {
|
|||||||
int chunkX = chunk.getX();
|
int chunkX = chunk.getX();
|
||||||
int chunkZ = chunk.getZ();
|
int chunkZ = chunk.getZ();
|
||||||
|
|
||||||
for (int x = chunkX - radius; x < chunkX + radius; x++) {
|
for (int x = chunkX - radius; x <= chunkX + radius; x++) {
|
||||||
for (int z = chunkZ - radius; z < chunkZ + radius; z++) {
|
for (int z = chunkZ - radius; z <= chunkZ + radius; z++) {
|
||||||
world.refreshChunk(x, z);
|
world.refreshChunk(x, z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user