Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added minimal claim distance from other town plots. #125

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

coaster3000 commented Mar 3, 2014

No description provided.

Contributor

coaster3000 commented Mar 4, 2014

DO NOT PULL Needs fixing. Turns out reason the stuff been working on my server is that one of my staff edited it.. I need to apply the fixes to this specific branch.

@coaster3000 coaster3000 commented on an outdated diff Mar 4, 2014

...com/palmergames/bukkit/towny/command/TownCommand.java
@@ -1888,6 +1892,10 @@ public static void parseTownClaimCommand(Player player, String[] split) {
selection = AreaSelectionUtil.selectWorldCoordArea(town, new WorldCoord(world.getName(), key), split);
blockCost = TownySettings.getClaimPrice();
}
+
+ if ((world.getMinDistanceFromOtherTownsPlots(key) < TownySettings.getMinDistanceFromTownPlotblocks()))
@coaster3000

coaster3000 Mar 4, 2014

Contributor

This is missing the town parameter causing the bug.

When I am not busy I will edit this real quick and force push.

Contributor

coaster3000 commented Mar 4, 2014

I repaired the build. It is now safe to use.

Owner

ElgarL commented Mar 31, 2014

Manually merged

@ElgarL ElgarL closed this Mar 31, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment