Fix compile (var must be final)

This commit is contained in:
Jesse Boyd 2018-08-12 21:35:48 +10:00
parent 9105294965
commit 4b8c434669
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -235,7 +235,7 @@ public class Auto extends SubCommand {
* @param start * @param start
* @param schem * @param schem
*/ */
public static void autoClaimSafe(final PlotPlayer player, final PlotArea area, PlotId start, final String schem, @Nullable Integer allowed_plots) { public static void autoClaimSafe(final PlotPlayer player, final PlotArea area, PlotId start, final String schem, @Nullable final Integer allowed_plots) {
player.setMeta(Auto.class.getName(), true); player.setMeta(Auto.class.getName(), true);
autoClaimFromDatabase(player, area, start, new RunnableVal<Plot>() { autoClaimFromDatabase(player, area, start, new RunnableVal<Plot>() {
@Override @Override