From 0ea61ea8ae1030515a6e57cc82d8b100074285e0 Mon Sep 17 00:00:00 2001 From: cnaude Date: Tue, 17 Jul 2018 21:03:13 -0700 Subject: [PATCH] Spigot-1.13 support. --- .../cnaude/purpleirc/GameListeners/OreBroadcastListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/OreBroadcastListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/OreBroadcastListener.java index fbcdde6..281d25c 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/OreBroadcastListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/OreBroadcastListener.java @@ -51,7 +51,7 @@ public class OreBroadcastListener implements Listener { public void onOreBroadcastEvent(OreBroadcastEvent e) { String blockName; - if (e.getBlockMined().getType().equals(Material.GLOWING_REDSTONE_ORE)) { + if (e.getBlockMined().getType().equals(Material.LEGACY_GLOWING_REDSTONE_ORE)) { blockName = "redstone"; } else { blockName = e.getBlockMined().getType().name().toLowerCase().replace("_ore", "");