mirror of
https://github.com/GeyserExtensionists/GeyserModelEngine.git
synced 2025-12-19 15:09:18 +00:00
fix: Entity scale not being updated
This commit is contained in:
@@ -206,11 +206,11 @@ public class EntityTask {
|
||||
|
||||
Vector3f scale = model.getActiveModel().getScale();
|
||||
float average = (scale.x + scale.y + scale.z) / 3;
|
||||
if (ignore) {
|
||||
if (average == lastScale) return;
|
||||
}
|
||||
|
||||
EntityUtils.sendCustomScale(player, model.getEntity().getEntityId(), average);
|
||||
|
||||
if (ignore) return;
|
||||
lastScale = average;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user