mirror of
https://github.com/xSquishyLiam/mc-GeyserModelEngine-plugin.git
synced 2025-12-19 14:59:19 +00:00
Fix sth
This commit is contained in:
@@ -245,7 +245,7 @@ public class EntityTask {
|
||||
}
|
||||
|
||||
});
|
||||
if (!lastAnimProperty.equals(currentAnimProperty)) {
|
||||
if (ignore || !lastAnimProperty.equals(currentAnimProperty)) {
|
||||
updates.put(lastAnimProperty, false);
|
||||
updates.put(currentAnimProperty, true);
|
||||
}
|
||||
@@ -315,7 +315,7 @@ public class EntityTask {
|
||||
|
||||
if (play) {
|
||||
setAnimationProperty("modelengine:anim_stop");
|
||||
model.getViewers().forEach(viewer -> updateEntityProperties(viewer, true));
|
||||
model.getViewers().forEach(viewer -> updateEntityProperties(viewer, false));
|
||||
currentAnimationPriority.set(p);
|
||||
|
||||
String id = "animation." + activeModel.getBlueprint().getName().toLowerCase() + "." + animationProperty.getName().toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user