mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-08 03:21:32 +01:00
Beetroot is 1.9+ only
This commit is contained in:
parent
ae881978d0
commit
be50c3ca7a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user