mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-24 16:58:50 +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
|
||||
*/
|
||||
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 New Issue
Block a user