From 2fa3338ffd8efdac8829fd3c61c6e16a9d7e9cec Mon Sep 17 00:00:00 2001 From: Marcel Konrad Date: Tue, 18 Jun 2019 16:58:21 +0200 Subject: [PATCH] Fix potential color change --- .../exopandora/worldhandler/builder/impl/BuilderNoteEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/exopandora/worldhandler/builder/impl/BuilderNoteEditor.java b/src/main/java/exopandora/worldhandler/builder/impl/BuilderNoteEditor.java index c6ed041..030d343 100644 --- a/src/main/java/exopandora/worldhandler/builder/impl/BuilderNoteEditor.java +++ b/src/main/java/exopandora/worldhandler/builder/impl/BuilderNoteEditor.java @@ -27,7 +27,7 @@ public class BuilderNoteEditor extends BuilderSetBlock { this(note); 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)