mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Fix blockbucket pattern generation
This commit is contained in:
parent
e39c7dfcde
commit
4ba1ae9aee
@ -78,7 +78,7 @@ public final class BlockBucket implements ConfigurationSerializable {
|
|||||||
private void addBlock(@NonNull final BlockState block, double chance) {
|
private void addBlock(@NonNull final BlockState block, double chance) {
|
||||||
if (chance == -1) chance = 1;
|
if (chance == -1) chance = 1;
|
||||||
String prefix = input.length() == 0 ? "" : ",";
|
String prefix = input.length() == 0 ? "" : ",";
|
||||||
input.append(prefix).append(chance).append("%").append(block.toString());
|
input.append(prefix).append(block.toString()).append(":").append(chance);
|
||||||
this.compiled = false;
|
this.compiled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user