From bcdbbe954619f9f1df25710e4919644327b7f4a8 Mon Sep 17 00:00:00 2001 From: md678685 <1917406+md678685@users.noreply.github.com> Date: Thu, 27 Jun 2019 15:48:18 +0100 Subject: [PATCH] Fix wall sign protection on 1.12.2 and below Fixes #2635. --- .../src/com/earth2me/essentials/signs/EssentialsSign.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java b/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java index 724481162..bd00a27a3 100644 --- a/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java +++ b/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java @@ -448,7 +448,7 @@ public class EssentialsSign { try { final WallSign signData = (WallSign) block.getState().getBlockData(); return signData.getFacing(); - } catch (NoClassDefFoundError e) { + } catch (NoClassDefFoundError | NoSuchMethodError e) { final org.bukkit.material.Sign signMat = (org.bukkit.material.Sign) block.getState().getData(); return signMat.getFacing(); }