12
1
Fork 0

Fix Fight.publicOnly method
SteamWarCI Build successful Details

Dieser Commit ist enthalten in:
yoyosource 2023-12-01 16:19:55 +01:00
Ursprung b3ad960973
Commit 8d77f4dcf4
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -74,7 +74,7 @@ Schematic:
PasteAligned: false # defaults to false if missing
# If only public schematics are allowed
OnlyPublicSchematics: false # defaults to false if missing
# If the public only force should be completely disabled # TODO: I think this value is now obsolete!
# If the public only force should be completely disabled
IgnorePublicOnly: false # defaults to false if missing
# If obsidian and bedrock should be replaced during PRE_RUNNING
ReplaceObsidianBedrock: false # defaults to false if missing

Datei anzeigen

@ -143,9 +143,9 @@ public class Fight {
if (Config.OnlyPublicSchematics) {
return true;
}
if (redTeam.isPublicsOnly() || blueTeam.isPublicsOnly()) {
return true;
if (Config.IgnorePublicOnly) {
return false;
}
return false;
return redTeam.isPublicsOnly() || blueTeam.isPublicsOnly();
}
}