Add keep flag for preventing plots from expiring. Closes #259

This commit is contained in:
Byteflux 2015-04-14 02:32:19 -07:00
parent b9732ccd1a
commit c8498fdb21
2 changed files with 7 additions and 1 deletions

View file

@ -706,7 +706,7 @@ public class PlotSquared {
}
public static void setupDefaultFlags() {
final List<String> booleanFlags = Arrays.asList("notify-enter", "notify-leave", "item-drop", "invincible", "instabreak", "drop-protection", "forcefield", "titles", "pve", "pvp", "no-worldedit", "redstone");
final List<String> booleanFlags = Arrays.asList("notify-enter", "notify-leave", "item-drop", "invincible", "instabreak", "drop-protection", "forcefield", "titles", "pve", "pvp", "no-worldedit", "redstone", "keep");
final List<String> intervalFlags = Arrays.asList("feed", "heal");
final List<String> stringFlags = Arrays.asList("greeting", "farewell");
final List<String> intFlags = Arrays.asList("mob-cap", "animal-cap", "hostile-cap");