Overhauled chest handling for MC beta. Now handles item damage as well.

This commit is contained in:
sk89q
2010-12-30 21:19:23 -08:00
parent 97835c97c9
commit 98de15fb4e
4 changed files with 114 additions and 31 deletions

View File

@@ -238,7 +238,7 @@ public class EditSession {
return new SignBlock(type, data, text);
// Chest
} else if (type == 54) {
Map<Byte,Countable<BaseItem>> items =
BaseItemStack[] items =
ServerInterface.getChestContents(pt);
return new ChestBlock(data, items);
// Mob spawner