Update CraftBukkit to Minecraft 1.3.1

This commit is contained in:
feildmaster authored and Travis Watkins committed 2012-08-02 04:58:50 -05:00
1 parent 08e2923bd4
commit a43d621c01
240 files changed
+10763 -9150

No files matched your search

@@ -24,7 +24,7 @@ public class TileEntityNote extends TileEntity {
}
}
public void c() {
public void a() {
this.note = (byte) ((this.note + 1) % 25);
this.update();
}
@@ -53,7 +53,7 @@ public class TileEntityNote extends TileEntity {
// CraftBukkit start
org.bukkit.event.block.NotePlayEvent event = org.bukkit.craftbukkit.event.CraftEventFactory.callNotePlayEvent(this.world, i, j, k, b0, this.note);
if (!event.isCancelled()) {
this.world.playNote(i, j, k, event.getInstrument().getType(), event.getNote().getId());
this.world.playNote(i, j, k, Block.NOTE_BLOCK.id, event.getInstrument().getType(), event.getNote().getId());
}
// CraftBukkit end
}