Make road flags great again (#3420)

Fixes #3111
This commit is contained in:
Jordan 2022-01-05 21:21:58 +01:00 committed by GitHub
parent 7cc38b5fa8
commit 4b77f1ab28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"),