Various fixes; boats, minecarts, musicblocks

This commit is contained in:
Dinnerbone
2011-01-14 21:22:14 +00:00
parent 5cb6edd5a9
commit 80707c0a23
5 changed files with 13 additions and 4 deletions

View File

@@ -54,6 +54,10 @@ public class ItemBlock extends Item {
}
}
if (itemstack.a == 0) {
return false;
}
// CraftBukkit start - store the old data so we can undo it
int oldMaterial = world.a(i, j, k);
int oldData = world.b(i, j, k);