Faster claim extension.
This commit is contained in:
1 parent
783c5a9844
commit
8362a084da
1 file changed
+1
-1
@@ -211,7 +211,7 @@ public class BlockEventHandler implements Listener
|
|||||||
if(block.getY() <= claim.lesserBoundaryCorner.getBlockY() && claim.allowBuild(player, block.getType()) == null)
|
if(block.getY() <= claim.lesserBoundaryCorner.getBlockY() && claim.allowBuild(player, block.getType()) == null)
|
||||||
{
|
{
|
||||||
//extend the claim downward
|
//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
|
//allow for a build warning in the future
|
||||||
|
|||||||
Reference in new issue
Block a user