From 76f4dff14c5e6a43f035a7333c9136262cd19cca Mon Sep 17 00:00:00 2001 From: pop4959 Date: Mon, 30 Mar 2020 00:32:44 -0700 Subject: [PATCH] Fix bed message on some older versions of MC (#3048) Fixes #3045. Some older versions of MC use "BED_BLOCK" to represent beds. --- Essentials/src/com/earth2me/essentials/utils/MaterialUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/utils/MaterialUtil.java b/Essentials/src/com/earth2me/essentials/utils/MaterialUtil.java index ff29da0c7..7c0750a2b 100644 --- a/Essentials/src/com/earth2me/essentials/utils/MaterialUtil.java +++ b/Essentials/src/com/earth2me/essentials/utils/MaterialUtil.java @@ -32,7 +32,7 @@ public class MaterialUtil { static { - BEDS = EnumUtil.getAllMatching(Material.class, "BED", "WHITE_BED", "ORANGE_BED", + BEDS = EnumUtil.getAllMatching(Material.class, "BED", "BED_BLOCK", "WHITE_BED", "ORANGE_BED", "MAGENTA_BED", "LIGHT_BLUE_BED", "YELLOW_BED", "LIME_BED", "PINK_BED", "GRAY_BED", "LIGHT_GRAY_BED", "CYAN_BED", "PURPLE_BED", "BLUE_BED", "BROWN_BED", "GREEN_BED", "RED_BED", "BLACK_BED");