3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00

Moved initialization to declaration

Dieser Commit ist enthalten in:
MattBDev 2020-02-20 20:39:28 -05:00
Ursprung 798e04a644
Commit 475330720e

Datei anzeigen

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