mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix for bukkit note block changes
This commit is contained in:
parent
894ebec740
commit
2efa37f0b2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user