From be50c3ca7aa6599f7b970bc9bf0df4f76bd5aca0 Mon Sep 17 00:00:00 2001 From: Esophose Date: Sat, 3 Aug 2019 17:29:54 +0000 Subject: [PATCH] Beetroot is 1.9+ only --- .../songoda/ultimatestacker/listeners/InteractListeners.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/ultimatestacker/listeners/InteractListeners.java b/src/main/java/com/songoda/ultimatestacker/listeners/InteractListeners.java index 7cb4f32..5f34e16 100644 --- a/src/main/java/com/songoda/ultimatestacker/listeners/InteractListeners.java +++ b/src/main/java/com/songoda/ultimatestacker/listeners/InteractListeners.java @@ -76,7 +76,7 @@ public class InteractListeners implements Listener { case "SHEEP": return type == Material.WHEAT; case "PIG": - return type == Material.CARROT || (plugin.isServerVersionAtLeast(ServerVersion.V1_8) && type == Material.BEETROOT) || type == Material.POTATO; + return type == Material.CARROT || (plugin.isServerVersionAtLeast(ServerVersion.V1_9) && type == Material.BEETROOT) || type == Material.POTATO; case "CHICKEN": return type == (is13 ? Material.WHEAT_SEEDS : Material.valueOf("SEEDS")) || type == Material.MELON_SEEDS