Fix chunk refresh occurring when not necessary

This commit is contained in:
boy0001 2015-01-08 19:50:24 +11:00
parent f803bc798c
commit 20b6886450

View File

@ -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();