From 2efa37f0b2486f78b1d94cd4b724406a5fa7d422 Mon Sep 17 00:00:00 2001 From: zml2008 Date: Sun, 31 Jul 2011 22:11:45 -0700 Subject: [PATCH] Fix for bukkit note block changes --- src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index 2dbcba11e..ebb73e6c0 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -276,7 +276,7 @@ public class BukkitWorld extends LocalWorld { if (!(state instanceof org.bukkit.block.NoteBlock)) return false; org.bukkit.block.NoteBlock bukkit = (org.bukkit.block.NoteBlock)state; NoteBlock we = (NoteBlock)block; - bukkit.setNote(we.getNote()); + bukkit.setRawNote(we.getNote()); return true; } @@ -335,7 +335,7 @@ public class BukkitWorld extends LocalWorld { if (!(state instanceof org.bukkit.block.NoteBlock)) return false; org.bukkit.block.NoteBlock bukkit = (org.bukkit.block.NoteBlock)state; NoteBlock we = (NoteBlock)block; - we.setNote(bukkit.getNote()); + we.setNote(bukkit.getRawNote()); } return false;