From 1e1d8d718a37aa7d7516c48e7d2429aaa2bfbb43 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 2 Oct 2022 17:02:45 +0200 Subject: [PATCH] Fix xray and techhider Signed-off-by: yoyosource --- BauSystem_Main/src/de/steamwar/bausystem/region/Region.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java index cec37575..906a4499 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java @@ -592,7 +592,7 @@ public class Region { public File gameModeConfig() { File baseFile = new File(BauSystem.getInstance().getDataFolder().getParentFile(), "FightSystem"); 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; } return null;