From 63c376fd4ed45ba5c1749c857b5568c52f2e73ea Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 18 Apr 2021 18:21:34 +0200 Subject: [PATCH] Fix Region.generatePrototypeData --- 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 17ba6b10..e06b8006 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java @@ -90,7 +90,7 @@ public class Region { return; } - if (!prototypes.contains(prototype)) { + if (this.prototype != null && !prototypes.contains(prototype)) { return; } this.prototype = prototype;