Fixed an issue affecting 1.11 servers.

This commit is contained in:
Brianna 2021-05-27 09:37:05 -05:00
parent 51456230cf
commit 6564cc520a

View File

@ -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;