mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-03-02 10:31:23 +01:00
Attempt to fix a dupe with Drops upgrade and chest on Llama (The content of chest is duplicated)
This commit is contained in:
parent
474bfd11b4
commit
72a6ce80fd
@ -25,6 +25,7 @@ import org.bukkit.entity.Hanging;
|
||||
import org.bukkit.entity.Horse;
|
||||
import org.bukkit.entity.Illager;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Llama;
|
||||
import org.bukkit.entity.Mule;
|
||||
import org.bukkit.entity.Pig;
|
||||
import org.bukkit.entity.Player;
|
||||
@ -656,6 +657,10 @@ public class Entity implements Listener {
|
||||
if (NMSUtil.getVersionNumber() > 10) {
|
||||
if (livingEntity instanceof Evoker) return;
|
||||
}
|
||||
|
||||
if (NMSUtil.getVersionNumber() > 11) {
|
||||
if (livingEntity instanceof Llama) return;
|
||||
}
|
||||
|
||||
if (NMSUtil.getVersionNumber() > 13) {
|
||||
if (livingEntity instanceof Ravager || livingEntity instanceof Illager) return;
|
||||
|
Loading…
Reference in New Issue
Block a user