Faster claim extension.
This commit is contained in:
parent
783c5a9844
commit
8362a084da
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user