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 c8533cc49..5a99168a5 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 @@ -82,11 +82,7 @@ import java.util.Map.Entry; * @return Immutable collection containing randomly selected blocks */ public Collection getBlocks(final int count) { - final List blocks = new ArrayList<>(count); - for (int i = 0; i < count; i++) { - blocks.add(getBlock()); - } - return Collections.unmodifiableCollection(blocks); + return Arrays.asList(getBlockArray(count)); } /**