mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Ensure compiled is actually set to true in BlockBucket
This commit is contained in:
parent
1b08fc5419
commit
84c9bb0d92
@ -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) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user