Increase death animation ticks

This commit is contained in:
fullwall 2021-02-08 19:52:30 +08:00
parent 9bbe9ae3c4
commit 54a66f33f3

View File

@ -305,7 +305,7 @@ public class EventListen implements Listener {
int delay = npc.data().get(NPC.RESPAWN_DELAY_METADATA, -1);
if (delay < 0)
return;
int deathAnimationTicks = event.getEntity() instanceof LivingEntity ? 10 : 2;
int deathAnimationTicks = event.getEntity() instanceof LivingEntity ? 20 : 2;
Bukkit.getScheduler().scheduleSyncDelayedTask(CitizensAPI.getPlugin(), new Runnable() {
@Override
public void run() {