mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-15 22:55:24 +01:00
Restrict gamerule support to 1.13+
This commit is contained in:
parent
da30cdb726
commit
b9e9885fe1
@ -53,7 +53,8 @@ public class DeathListeners implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
if (!event.getEntity().getWorld().getGameRuleValue(GameRule.DO_MOB_LOOT))
|
||||
if (ServerVersion.isServerVersionAtLeast(ServerVersion.V1_13)
|
||||
&& !event.getEntity().getWorld().getGameRuleValue(GameRule.DO_MOB_LOOT))
|
||||
drops.clear();
|
||||
|
||||
if (instance.getEntityStackManager().isStacked(event.getEntity()))
|
||||
|
Loading…
Reference in New Issue
Block a user