From 475330720e222986289928e4baeea672decb8c86 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Thu, 20 Feb 2020 20:39:28 -0500 Subject: [PATCH] Moved initialization to declaration --- .../java/com/boydti/fawe/object/clipboard/LinearClipboard.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/object/clipboard/LinearClipboard.java b/worldedit-core/src/main/java/com/boydti/fawe/object/clipboard/LinearClipboard.java index 676187c34..ae421e139 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/object/clipboard/LinearClipboard.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/object/clipboard/LinearClipboard.java @@ -26,11 +26,10 @@ import org.jetbrains.annotations.NotNull; */ public abstract class LinearClipboard extends SimpleClipboard { - protected final HashSet entities; + protected final HashSet entities = new HashSet<>(); public LinearClipboard(BlockVector3 dimensions) { super(dimensions); - entities = new HashSet<>(); } public abstract > boolean setBlock(int i, B block);