From 4ba1ae9aeee2c0e8fe48a065e1307d27284e1d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Sun, 23 Feb 2020 21:29:53 +0100 Subject: [PATCH] Fix blockbucket pattern generation --- .../intellectualsites/plotsquared/plot/object/BlockBucket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/BlockBucket.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/BlockBucket.java index 670ca26d9..42d5082f4 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/BlockBucket.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/BlockBucket.java @@ -78,7 +78,7 @@ public final class BlockBucket implements ConfigurationSerializable { private void addBlock(@NonNull final BlockState block, double chance) { if (chance == -1) chance = 1; 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; }