From 24b2a96d117502d39aa7572714b1272c2aa35536 Mon Sep 17 00:00:00 2001 From: Tofaa <82680183+Tofaa2@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:14:20 +0400 Subject: [PATCH] Update WrapperLivingEntity.java --- .../me/tofaa/entitylib/wrapper/WrapperLivingEntity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/src/main/java/me/tofaa/entitylib/wrapper/WrapperLivingEntity.java b/api/src/main/java/me/tofaa/entitylib/wrapper/WrapperLivingEntity.java index 9e8a610..1e6d69e 100644 --- a/api/src/main/java/me/tofaa/entitylib/wrapper/WrapperLivingEntity.java +++ b/api/src/main/java/me/tofaa/entitylib/wrapper/WrapperLivingEntity.java @@ -17,6 +17,12 @@ public class WrapperLivingEntity extends WrapperEntity{ this.equipment = new WrapperEntityEquipment(this); } + @Override + public void refresh() { + super.refresh(); + equipment.refresh(); + } + public void playCriticalHitAnimation() { sendAnimation(WrapperPlayServerEntityAnimation.EntityAnimationType.CRITICAL_HIT); }