Removed deprecated methods.

getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2011-07-27 21:18:52 -04:00
parent 04335a1ebe
commit e74addf2e4
2 changed files with 2 additions and 16 deletions

View File

@@ -20,9 +20,8 @@ public class CraftNoteBlock extends CraftBlockState implements NoteBlock {
note = (TileEntityNote) world.getTileEntityAt(getX(), getY(), getZ());
}
@Deprecated
public byte getNote() {
return note.note;
public Note getNote() {
return new Note(note.note);
}
public byte getRawNote() {
@@ -33,11 +32,6 @@ public class CraftNoteBlock extends CraftBlockState implements NoteBlock {
note.note = n.getId();
}
@Deprecated
public void setNote(byte n) {
note.note = n;
}
public void setRawNote(byte n) {
note.note = n;
}