Skip to content

Commit

Permalink
Rename de certains anciens noms de keyrisium
Browse files Browse the repository at this point in the history
(les derniers)
  • Loading branch information
Dabsunter committed Jul 8, 2017
1 parent ba5b736 commit 883e6be
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions PaperSpigot-API/src/main/java/org/bukkit/Material.java
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,10 @@ public enum Material {
COMPACTED_SLIME_BALL(500),
LIGNITE(501),
DONUT(502),
VANADIUM_INGOT(503),
APATITE(504),
PYRITE(505),
COBALT_INGOT(506),
ZINC(503),
CRONYXE(504),
KOBALT(505),
ELDARIUM(506),
// ID dispo
ZINC_SWORD(508, 1, 1561),
ZINC_PICKAXE(509, 1, 1561),
Expand Down Expand Up @@ -864,6 +864,19 @@ public boolean isSolid() {
case MAGIC_CHEST:
case KOBALT_CHEST:
case CRONYXE_CHEST:
case SEA_LANTERN:
case SPRUCE_FENCE_GATE:
case ACACIA_FENCE_GATE:
case BIRCH_FENCE_GATE:
case DARK_OAK_FENCE_GATE:
case JUNGLE_FENCE_GATE:
case SPRUCE_FENCE:
case ACACIA_FENCE:
case BIRCH_FENCE:
case DARK_OAK_FENCE:
case JUNGLE_FENCE:
case OBSIDIAN_FURNACE:
case BURNING_OBSIDIAN_FURNACE:
return true;
default:
return false;
Expand Down Expand Up @@ -924,6 +937,7 @@ public boolean isTransparent() {
case ACTIVATOR_RAIL:
case CARPET:
case DOUBLE_PLANT:
case BARRIER:
return true;
default:
return false;
Expand Down Expand Up @@ -976,6 +990,16 @@ public boolean isFlammable() {
case LOG_2:
case ACACIA_STAIRS:
case DARK_OAK_STAIRS:
case SPRUCE_FENCE_GATE:
case ACACIA_FENCE_GATE:
case BIRCH_FENCE_GATE:
case DARK_OAK_FENCE_GATE:
case JUNGLE_FENCE_GATE:
case SPRUCE_FENCE:
case ACACIA_FENCE:
case BIRCH_FENCE:
case DARK_OAK_FENCE:
case JUNGLE_FENCE:
return true;
default:
return false;
Expand Down Expand Up @@ -1096,6 +1120,9 @@ public boolean isOccluding() {
case COAL_BLOCK:
case LOG_2:
case PACKED_ICE:
case SEA_LANTERN:
case OBSIDIAN_FURNACE:
case BURNING_OBSIDIAN_FURNACE:
return true;
default:
return false;
Expand Down

0 comments on commit 883e6be

Please sign in to comment.