mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26: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()) {
|
if (string.isEmpty()) {
|
||||||
this.single = null;
|
this.single = null;
|
||||||
this.pattern = null;
|
this.pattern = null;
|
||||||
|
this.compiled = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Convert legacy format
|
// Convert legacy format
|
||||||
@ -146,6 +147,7 @@ public final class BlockBucket implements ConfigurationSerializable {
|
|||||||
}
|
}
|
||||||
this.single = BlockUtil.get(string);
|
this.single = BlockUtil.get(string);
|
||||||
this.pattern = new BlockPattern(single);
|
this.pattern = new BlockPattern(single);
|
||||||
|
this.compiled = true;
|
||||||
return;
|
return;
|
||||||
} catch (Exception ignore) {
|
} catch (Exception ignore) {
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user