mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-23 10:35:22 +01:00
Fixed an issue affecting 1.11 servers.
This commit is contained in:
parent
51456230cf
commit
6564cc520a
@ -94,7 +94,7 @@ public class DeathListeners implements Listener {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (ServerVersion.isServerVersionAtLeast(ServerVersion.V1_11)
|
||||
if (ServerVersion.isServerVersionAtLeast(ServerVersion.V1_12)
|
||||
&& entity instanceof ChestedHorse
|
||||
&& ((ChestedHorse) entity).getInventory().contains(material))
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user