Fix for bukkit note block changes

Dieser Commit ist enthalten in:
zml2008 2011-07-31 22:11:45 -07:00
Ursprung 894ebec740
Commit 2efa37f0b2

Datei anzeigen

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