mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-19 15:09:19 +00:00
fix: dispatch update also updates location for viewers
This commit is contained in:
@@ -54,6 +54,9 @@ public class CosmeticBackpackType extends Cosmetic implements CosmeticUpdateBeha
|
||||
UserEntity entityManager = backpackManager.getEntityManager();
|
||||
if(entityManager == null) return;
|
||||
|
||||
entityManager.teleport(loc);
|
||||
entityManager.setRotation((int) loc.getYaw(), isFirstPersonCompadible());
|
||||
|
||||
int firstArmorStandId = backpackManager.getFirstArmorStandId();
|
||||
|
||||
List<Player> newViewers = entityManager.refreshViewers(loc);
|
||||
|
||||
Reference in New Issue
Block a user