mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Fix mistakes in Material
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
6dee9f2754
commit
76c5504b12
1 changed files with 17 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue