Non-leaf blocks should no longer show up as leaves in the inventory when using block bags.

Dieser Commit ist enthalten in:
TomyLobo 2011-11-05 17:58:51 +01:00
Ursprung e72f84f08f
Commit af1c600fc9

Datei anzeigen

@ -1032,7 +1032,7 @@ public enum BlockType {
private static void addIdentities(int type, int maxData) { private static void addIdentities(int type, int maxData) {
for (int data = 0; data < maxData; ++data) { for (int data = 0; data < maxData; ++data) {
dataBlockBagItems.put(typeDataKey(type, data), new BaseItem(BlockID.LEAVES, (short) data)); dataBlockBagItems.put(typeDataKey(type, data), new BaseItem(type, (short) data));
} }
} }