From 8362a084dae834211f865ef40be6b7e66fa98de4 Mon Sep 17 00:00:00 2001 From: ryanhamshire Date: Mon, 26 Jan 2015 16:07:41 -0800 Subject: [PATCH] Faster claim extension. --- src/me/ryanhamshire/GriefPrevention/BlockEventHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/ryanhamshire/GriefPrevention/BlockEventHandler.java b/src/me/ryanhamshire/GriefPrevention/BlockEventHandler.java index 13136c4..8d020aa 100644 --- a/src/me/ryanhamshire/GriefPrevention/BlockEventHandler.java +++ b/src/me/ryanhamshire/GriefPrevention/BlockEventHandler.java @@ -211,7 +211,7 @@ public class BlockEventHandler implements Listener if(block.getY() <= claim.lesserBoundaryCorner.getBlockY() && claim.allowBuild(player, block.getType()) == null) { //extend the claim downward - this.dataStore.extendClaim(claim, claim.getLesserBoundaryCorner().getBlockY() - GriefPrevention.instance.config_claims_claimsExtendIntoGroundDistance); + this.dataStore.extendClaim(claim, block.getY() - GriefPrevention.instance.config_claims_claimsExtendIntoGroundDistance); } //allow for a build warning in the future