SteamWar/BauSystem2.0
Archiviert
12
0

Fix xray and techhider
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2022-10-02 17:02:45 +02:00
Ursprung dd5c932f15
Commit 1e1d8d718a

Datei anzeigen

@ -592,7 +592,7 @@ public class Region {
public File gameModeConfig() { public File gameModeConfig() {
File baseFile = new File(BauSystem.getInstance().getDataFolder().getParentFile(), "FightSystem"); File baseFile = new File(BauSystem.getInstance().getDataFolder().getParentFile(), "FightSystem");
for (int version = Core.getVersion(); version >= 15; version--) { for (int version = Core.getVersion(); version >= 15; version--) {
File specific = new File(baseFile, getDisplayName() + version + ".yml"); File specific = new File(baseFile, prototype.getDisplayName() + version + ".yml");
if (specific.exists()) return specific; if (specific.exists()) return specific;
} }
return null; return null;