mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-06-23 04:55:01 +02:00
Increase death animation ticks
This commit is contained in:
parent
9bbe9ae3c4
commit
54a66f33f3
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user