mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-27 11:07:44 +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 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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user