diff --git a/Plugins/Mineplex.Core.Common/src/mineplex/core/common/util/UtilEnt.java b/Plugins/Mineplex.Core.Common/src/mineplex/core/common/util/UtilEnt.java index 566be1092..f4f73003a 100644 --- a/Plugins/Mineplex.Core.Common/src/mineplex/core/common/util/UtilEnt.java +++ b/Plugins/Mineplex.Core.Common/src/mineplex/core/common/util/UtilEnt.java @@ -634,10 +634,7 @@ public class UtilEnt //Fences/Walls Material beneath = player.getLocation().add(x, -1.5, z).getBlock().getType(); if (player.getLocation().getY() % 0.5 == 0 && - (beneath == Material.FENCE || - beneath == Material.FENCE_GATE || - beneath == Material.NETHER_FENCE || - beneath == Material.COBBLE_WALL)) + (beneath.toString().contains("FENCE") || beneath == Material.COBBLE_WALL)) return true; } } diff --git a/Plugins/plugin.xml b/Plugins/plugin.xml index 30937a766..c6ed635aa 100644 --- a/Plugins/plugin.xml +++ b/Plugins/plugin.xml @@ -44,7 +44,6 @@ - commons-codec:commons-codec com.google.code.gson:gson com.mineplex:spigot diff --git a/Plugins/pom.xml b/Plugins/pom.xml index 3727f388a..1ba78d062 100644 --- a/Plugins/pom.xml +++ b/Plugins/pom.xml @@ -123,7 +123,7 @@ redis.clients jedis - 2.7.2 + 2.6.2 compile