mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
b3e1acc563
If radius is 1 (as it is when called elsewhere in the class), the loop conditions fail to refresh some of the neighboring chunks, allowing for ghost blocks to continue to occur on eastern and southern edges of the chunk the player is in. This commit fixes the loop conditions. = Chunk diagram of old behavior = ----- -RR-- -RP-- ----- ----- = Chunk diagram of new behavior = ----- -RRR- -RPR- -RRR- ----- = Legend = P: the chunk the player is in R and P: chunks that are refreshed -: chunks that do not get refreshed |
||
---|---|---|
.. | ||
main | ||
util/java/mcMMO |