Wood is not planks.

This commit is contained in:
t00thpick1 2018-07-24 20:50:17 -04:00
parent 8216dbe355
commit bff454f397
3 changed files with 14 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public enum MaterialType {
return Material.LEATHER; return Material.LEATHER;
case WOOD: case WOOD:
return Material.OAK_WOOD; return Material.OAK_PLANKS;
case STONE: case STONE:
return Material.COBBLESTONE; return Material.COBBLESTONE;

View File

@ -681,6 +681,18 @@ public final class ItemUtils {
case JUNGLE_LOG: case JUNGLE_LOG:
case OAK_LOG: case OAK_LOG:
case SPRUCE_LOG: case SPRUCE_LOG:
case OAK_WOOD:
case ACACIA_WOOD:
case BIRCH_WOOD:
case DARK_OAK_WOOD:
case STRIPPED_ACACIA_WOOD:
case JUNGLE_WOOD:
case SPRUCE_WOOD:
case STRIPPED_BIRCH_WOOD:
case STRIPPED_DARK_OAK_WOOD:
case STRIPPED_JUNGLE_WOOD:
case STRIPPED_OAK_WOOD:
case STRIPPED_SPRUCE_WOOD:
case STRIPPED_ACACIA_LOG: case STRIPPED_ACACIA_LOG:
case STRIPPED_BIRCH_LOG: case STRIPPED_BIRCH_LOG:
case STRIPPED_DARK_OAK_LOG: case STRIPPED_DARK_OAK_LOG:

View File

@ -255,7 +255,7 @@ public class SkillUtils {
return Material.COBBLESTONE; return Material.COBBLESTONE;
} }
else if (ItemUtils.isWoodTool(inHand)) { else if (ItemUtils.isWoodTool(inHand)) {
return Material.OAK_WOOD; return Material.OAK_PLANKS;
} }
else if (ItemUtils.isLeatherArmor(inHand)) { else if (ItemUtils.isLeatherArmor(inHand)) {
return Material.LEATHER; return Material.LEATHER;