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

This commit is contained in:
TomyLobo 2011-11-05 17:58:51 +01:00
parent e72f84f08f
commit af1c600fc9

View File

@ -1032,7 +1032,7 @@ public enum BlockType {
private static void addIdentities(int type, int maxData) {
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));
}
}