mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-01-19 16:59:36 +01:00
Fix chunk refresh occurring when not necessary
This commit is contained in:
parent
f803bc798c
commit
20b6886450
@ -88,6 +88,9 @@ public class SetBlockFast {
|
|||||||
* @param player Player whose chunks we're updating
|
* @param player Player whose chunks we're updating
|
||||||
*/
|
*/
|
||||||
public static void update(final org.bukkit.entity.Player player) {
|
public static void update(final org.bukkit.entity.Player player) {
|
||||||
|
if (!PlotHelper.canSetFast) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!PlotHelper.canSendChunk) {
|
if (!PlotHelper.canSendChunk) {
|
||||||
|
|
||||||
final int distance = Bukkit.getViewDistance();
|
final int distance = Bukkit.getViewDistance();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user