Fix potential color change

This commit is contained in:
Marcel Konrad
2019-06-18 16:58:21 +02:00
parent d655eb0a3e
commit 2fa3338ffd

View File

@@ -27,7 +27,7 @@ public class BuilderNoteEditor extends BuilderSetBlock
{ {
this(note); this(note);
this.setPosition(pos); this.setPosition(pos);
this.withState(BlockStateProperties.NOTE_BLOCK_INSTRUMENT, NoteBlockInstrument.byState(Minecraft.getInstance().world.getBlockState(pos))); this.withState(BlockStateProperties.NOTE_BLOCK_INSTRUMENT, NoteBlockInstrument.byState(Minecraft.getInstance().world.getBlockState(pos.down())));
} }
public void setNote(int note) public void setNote(int note)