mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 21:48:48 +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 JUNGLE_FENCE:
|
||||||
case DARK_OAK_FENCE:
|
case DARK_OAK_FENCE:
|
||||||
case ACACIA_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;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
@ -905,7 +913,6 @@ public enum Material {
|
||||||
case ACTIVATOR_RAIL:
|
case ACTIVATOR_RAIL:
|
||||||
case CARPET:
|
case CARPET:
|
||||||
case DOUBLE_PLANT:
|
case DOUBLE_PLANT:
|
||||||
case DAYLIGHT_DETECTOR_INVERTED:
|
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
@ -969,6 +976,14 @@ public enum Material {
|
||||||
case JUNGLE_FENCE:
|
case JUNGLE_FENCE:
|
||||||
case DARK_OAK_FENCE:
|
case DARK_OAK_FENCE:
|
||||||
case ACACIA_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;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
@ -1105,6 +1120,7 @@ public enum Material {
|
||||||
case BARRIER:
|
case BARRIER:
|
||||||
case PRISMARINE:
|
case PRISMARINE:
|
||||||
case RED_SANDSTONE:
|
case RED_SANDSTONE:
|
||||||
|
case DOUBLE_STONE_SLAB2:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue