geforkt von Mirrors/FastAsyncWorldEdit
Fix for bukkit note block changes
Dieser Commit ist enthalten in:
Ursprung
894ebec740
Commit
2efa37f0b2
@ -276,7 +276,7 @@ public class BukkitWorld extends LocalWorld {
|
|||||||
if (!(state instanceof org.bukkit.block.NoteBlock)) return false;
|
if (!(state instanceof org.bukkit.block.NoteBlock)) return false;
|
||||||
org.bukkit.block.NoteBlock bukkit = (org.bukkit.block.NoteBlock)state;
|
org.bukkit.block.NoteBlock bukkit = (org.bukkit.block.NoteBlock)state;
|
||||||
NoteBlock we = (NoteBlock)block;
|
NoteBlock we = (NoteBlock)block;
|
||||||
bukkit.setNote(we.getNote());
|
bukkit.setRawNote(we.getNote());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -335,7 +335,7 @@ public class BukkitWorld extends LocalWorld {
|
|||||||
if (!(state instanceof org.bukkit.block.NoteBlock)) return false;
|
if (!(state instanceof org.bukkit.block.NoteBlock)) return false;
|
||||||
org.bukkit.block.NoteBlock bukkit = (org.bukkit.block.NoteBlock)state;
|
org.bukkit.block.NoteBlock bukkit = (org.bukkit.block.NoteBlock)state;
|
||||||
NoteBlock we = (NoteBlock)block;
|
NoteBlock we = (NoteBlock)block;
|
||||||
we.setNote(bukkit.getNote());
|
we.setNote(bukkit.getRawNote());
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren