mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Non-leaf blocks should no longer show up as leaves in the inventory when using block bags.
This commit is contained in:
parent
e72f84f08f
commit
af1c600fc9
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user