Merge pull request #321 from Dumbo52/master

Add stone + banners to usesData HashSet.
This commit is contained in:
Wizjany 2015-03-11 00:32:41 -04:00
commit b551512f27
2 changed files with 2 additions and 0 deletions

View File

@ -728,6 +728,7 @@ public enum BlockType {
*/ */
private static final Set<Integer> usesData = new HashSet<Integer>(); private static final Set<Integer> usesData = new HashSet<Integer>();
static { static {
usesData.add(BlockID.STONE);
usesData.add(BlockID.DIRT); usesData.add(BlockID.DIRT);
usesData.add(BlockID.WOOD); usesData.add(BlockID.WOOD);
usesData.add(BlockID.SAPLING); usesData.add(BlockID.SAPLING);

View File

@ -680,6 +680,7 @@ public enum ItemType {
usesDamageValue.add(ItemID.GOLD_APPLE); usesDamageValue.add(ItemID.GOLD_APPLE);
usesDamageValue.add(ItemID.RAW_FISH); usesDamageValue.add(ItemID.RAW_FISH);
usesDamageValue.add(ItemID.COOKED_FISH); usesDamageValue.add(ItemID.COOKED_FISH);
usesDamageValue.add(ItemID.BANNER);
} }
/** /**