From 76c5504b128a34165719dddc4a622ddbfbacbfd1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 25 Jan 2015 12:09:17 +0000 Subject: [PATCH] Fix mistakes in Material By: Thinkofdeath --- .../src/main/java/org/bukkit/Material.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/Material.java b/paper-api/src/main/java/org/bukkit/Material.java index cd6cb731c7..82ad8c0ced 100644 --- a/paper-api/src/main/java/org/bukkit/Material.java +++ b/paper-api/src/main/java/org/bukkit/Material.java @@ -845,6 +845,14 @@ public enum Material { case JUNGLE_FENCE: case DARK_OAK_FENCE: case ACACIA_FENCE: + case STANDING_BANNER: + case WALL_BANNER: + case DAYLIGHT_DETECTOR_INVERTED: + case SPRUCE_DOOR: + case BIRCH_DOOR: + case JUNGLE_DOOR: + case ACACIA_DOOR: + case DARK_OAK_DOOR: return true; default: return false; @@ -905,7 +913,6 @@ public enum Material { case ACTIVATOR_RAIL: case CARPET: case DOUBLE_PLANT: - case DAYLIGHT_DETECTOR_INVERTED: return true; default: return false; @@ -969,6 +976,14 @@ public enum Material { case JUNGLE_FENCE: case DARK_OAK_FENCE: case ACACIA_FENCE: + case STANDING_BANNER: + case WALL_BANNER: + case DAYLIGHT_DETECTOR_INVERTED: + case SPRUCE_DOOR: + case BIRCH_DOOR: + case JUNGLE_DOOR: + case ACACIA_DOOR: + case DARK_OAK_DOOR: return true; default: return false; @@ -1105,6 +1120,7 @@ public enum Material { case BARRIER: case PRISMARINE: case RED_SANDSTONE: + case DOUBLE_STONE_SLAB2: return true; default: return false;