diff --git a/bukkit/src/main/java/com/griefdefender/task/ClaimBlockTask.java b/bukkit/src/main/java/com/griefdefender/task/ClaimBlockTask.java index 60787be..f99da73 100644 --- a/bukkit/src/main/java/com/griefdefender/task/ClaimBlockTask.java +++ b/bukkit/src/main/java/com/griefdefender/task/ClaimBlockTask.java @@ -59,7 +59,7 @@ public void run() { Location lastLocation = playerData.lastAfkCheckLocation; // if he's not in a vehicle and has moved at least three blocks since the last check and he's not being pushed around by fluids if (player.getVehicle() == null && - (lastLocation == null || lastLocation.distanceSquared(player.getLocation()) >= 0) && + (lastLocation == null || lastLocation.getWorld() != player.getWorld() || lastLocation.distanceSquared(player.getLocation()) >= 0) && !NMSUtil.getInstance().isBlockWater(player.getLocation().getBlock())) { int accruedBlocks = playerData.getBlocksAccruedPerHour() / 12; if (accruedBlocks < 0) {