Fix for bukkit note block changes

This commit is contained in:
zml2008 2011-07-31 22:11:45 -07:00
parent 894ebec740
commit 2efa37f0b2

View File

@ -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;