From 4b77f1ab2817debc5f411b8ec1512d353aadcbe1 Mon Sep 17 00:00:00 2001 From: Jordan Date: Wed, 5 Jan 2022 21:21:58 +0100 Subject: [PATCH] Make road flags great again (#3420) Fixes #3111 --- Core/src/main/java/com/plotsquared/core/plot/PlotArea.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java b/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java index 3e9fabe17..10992d982 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java +++ b/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java @@ -124,7 +124,7 @@ public abstract class PlotArea { new FlagContainer(GlobalFlagContainer.getInstance()); private final YamlConfiguration worldConfiguration; private final GlobalBlockQueue globalBlockQueue; - private final boolean roadFlags = false; + private boolean roadFlags = false; private boolean autoMerge = false; private boolean allowSigns = true; private boolean miscSpawnUnowned = false; @@ -429,6 +429,7 @@ public abstract class PlotArea { } } } + this.roadFlags = roadflags.size() > 0; this.getRoadFlagContainer().addAll(parseFlags(roadflags)); ConsolePlayer.getConsole().sendMessage( TranslatableCaption.of("flags.road_flags"),