mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 06:38:56 +00:00
@@ -52,6 +52,7 @@ public class LegacyUtil {
|
|||||||
FENCES = fences;
|
FENCES = fences;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final Material MAGMA = get("MAGMA_BLOCK", "MAGMA");
|
||||||
public static final Material CLOCK = get("CLOCK", "WATCH");
|
public static final Material CLOCK = get("CLOCK", "WATCH");
|
||||||
public static final Material OAK_STAIRS = get("OAK_STAIRS", "WOOD_STAIRS");
|
public static final Material OAK_STAIRS = get("OAK_STAIRS", "WOOD_STAIRS");
|
||||||
public static final Material SPRUCE_STAIRS = get("SPRUCE_STAIRS", "SPRUCE_WOOD_STAIRS");
|
public static final Material SPRUCE_STAIRS = get("SPRUCE_STAIRS", "SPRUCE_WOOD_STAIRS");
|
||||||
@@ -102,7 +103,7 @@ public class LegacyUtil {
|
|||||||
|
|
||||||
// LAVA and STATIONARY_LAVA are merged as of 1.13
|
// LAVA and STATIONARY_LAVA are merged as of 1.13
|
||||||
public static boolean isLava(Material type) {
|
public static boolean isLava(Material type) {
|
||||||
return type == Material.LAVA || (!P.use1_13 && type == STATIONARY_LAVA);
|
return type == Material.LAVA || (!P.use1_13 && type == STATIONARY_LAVA) || (MAGMA != null && type == MAGMA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean areStairsInverted(Block block) {
|
public static boolean areStairsInverted(Block block) {
|
||||||
|
|||||||
Reference in New Issue
Block a user