mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Various minor
VehicleMoveEvent - Move KillRoadVehicles code there - Fix for pre-1.12 Fix auto merge being disabled
This commit is contained in:
@ -224,6 +224,9 @@ public class Auto extends SubCommand {
|
||||
MainUtil.sendMessage(player, C.NO_FREE_PLOTS);
|
||||
} else {
|
||||
plot.claim(player, true, schem, false);
|
||||
if (area.AUTO_MERGE) {
|
||||
plot.autoMerge(-1, Integer.MAX_VALUE, player.getUUID(), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -94,6 +94,9 @@ public class Claim extends SubCommand {
|
||||
@Override
|
||||
public void run(Object value) {
|
||||
plot.claim(player, true, finalSchematic, false);
|
||||
if (area.AUTO_MERGE) {
|
||||
plot.autoMerge(-1, Integer.MAX_VALUE, player.getUUID(), true);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -319,8 +319,9 @@ public class Settings extends Config {
|
||||
public static boolean PLOT_EXPIRY = false;
|
||||
@Comment("Processes chunks (trimming, or entity/tile limits) ")
|
||||
public static boolean CHUNK_PROCESSOR = false;
|
||||
@Comment("Kill mobs or vehicles on roads")
|
||||
@Comment("Kill mobs on roads")
|
||||
public static boolean KILL_ROAD_MOBS = false;
|
||||
@Comment("Kill vehicles on roads")
|
||||
public static boolean KILL_ROAD_VEHICLES = false;
|
||||
@Comment("Notify a player of any missed comments upon plot entry")
|
||||
public static boolean COMMENT_NOTIFIER = false;
|
||||
|
Reference in New Issue
Block a user