mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-11 10:57:47 +01:00
Delay allay reset packets
This commit is contained in:
parent
e140883287
commit
224ffc7fc5
@ -61,6 +61,7 @@ public class AllayController extends MobEntityController {
|
||||
private final CitizensNPC npc;
|
||||
|
||||
private int taskId = -1;
|
||||
|
||||
public EntityAllayNPC(EntityType<? extends Allay> types, Level level) {
|
||||
this(types, level, null);
|
||||
}
|
||||
@ -179,7 +180,7 @@ public class AllayController extends MobEntityController {
|
||||
this.getItemInHand(InteractionHand.MAIN_HAND)))));
|
||||
((org.bukkit.entity.Player) var0.getBukkitEntity()).updateInventory();
|
||||
taskId = -1;
|
||||
});
|
||||
}, 5);
|
||||
}
|
||||
return InteractionResult.FAIL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user