Moved initialization to declaration

This commit is contained in:
MattBDev 2020-02-20 20:39:28 -05:00
parent 798e04a644
commit 475330720e

View File

@ -26,11 +26,10 @@ import org.jetbrains.annotations.NotNull;
*/
public abstract class LinearClipboard extends SimpleClipboard {
protected final HashSet<ClipboardEntity> entities;
protected final HashSet<ClipboardEntity> entities = new HashSet<>();
public LinearClipboard(BlockVector3 dimensions) {
super(dimensions);
entities = new HashSet<>();
}
public abstract <B extends BlockStateHolder<B>> boolean setBlock(int i, B block);