mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Fix chunk refresh occurring when not necessary
This commit is contained in:
parent
f803bc798c
commit
20b6886450
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ public class SetBlockFast {
|
|||
* @param player Player whose chunks we're updating
|
||||
*/
|
||||
public static void update(final org.bukkit.entity.Player player) {
|
||||
if (!PlotHelper.canSetFast) {
|
||||
return;
|
||||
}
|
||||
if (!PlotHelper.canSendChunk) {
|
||||
|
||||
final int distance = Bukkit.getViewDistance();
|
||||
|
|
Loading…
Reference in a new issue