From e39876ae676b0d47923432b9b914ef8c309f47f1 Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Sat, 11 Aug 2018 06:54:38 -0300 Subject: [PATCH] Use unpowered note block --- .../protocols/protocol1_13to1_12_2/packets/WorldPackets.java | 2 +- .../src/main/resources/assets/viaversion/data/mapping-1.12.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java index 8b762f8e3..d8378e077 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java @@ -152,7 +152,7 @@ public class WorldPackets { if (blockId == 73) { // Note block PacketWrapper blockChange = wrapper.create(0x0B); // block change blockChange.write(Type.POSITION, new Position(pos.getX(), pos.getY(), pos.getZ())); // Clone because position is mutable - blockChange.write(Type.VAR_INT, 248 + (action * 24 * 2) + (param * 2)); + blockChange.write(Type.VAR_INT, 249 + (action * 24 * 2) + (param * 2)); blockChange.send(Protocol1_13To1_12_2.class, true, true); } wrapper.set(Type.VAR_INT, 0, blockId); diff --git a/common/src/main/resources/assets/viaversion/data/mapping-1.12.json b/common/src/main/resources/assets/viaversion/data/mapping-1.12.json index f923bb0c2..120eebfde 100644 --- a/common/src/main/resources/assets/viaversion/data/mapping-1.12.json +++ b/common/src/main/resources/assets/viaversion/data/mapping-1.12.json @@ -154,7 +154,7 @@ "384": "minecraft:sandstone", "385": "minecraft:chiseled_sandstone", "386": "minecraft:cut_sandstone", - "400": "minecraft:note_block[instrument=harp,note=0,powered=true]", + "400": "minecraft:note_block[instrument=harp,note=0,powered=false]", "416": "minecraft:red_bed[facing=south,occupied=false,part=foot]", "417": "minecraft:red_bed[facing=west,occupied=false,part=foot]", "418": "minecraft:red_bed[facing=north,occupied=false,part=foot]",