From 84c9bb0d92ed1cc9ea280877a9522b7f7c7f52fd Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 9 Jun 2022 17:25:55 +0100 Subject: [PATCH] Ensure compiled is actually set to true in BlockBucket --- Core/src/main/java/com/plotsquared/core/plot/BlockBucket.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/main/java/com/plotsquared/core/plot/BlockBucket.java b/Core/src/main/java/com/plotsquared/core/plot/BlockBucket.java index f6e726c5a..53e02392f 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/BlockBucket.java +++ b/Core/src/main/java/com/plotsquared/core/plot/BlockBucket.java @@ -126,6 +126,7 @@ public final class BlockBucket implements ConfigurationSerializable { if (string.isEmpty()) { this.single = null; this.pattern = null; + this.compiled = true; return; } // Convert legacy format @@ -146,6 +147,7 @@ public final class BlockBucket implements ConfigurationSerializable { } this.single = BlockUtil.get(string); this.pattern = new BlockPattern(single); + this.compiled = true; return; } catch (Exception ignore) { }