mirror of
https://github.com/xSquishyLiam/mc-GeyserModelEngine-plugin.git
synced 2025-12-20 07:19:20 +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(lastAnimProperty, false);
|
||||||
updates.put(currentAnimProperty, true);
|
updates.put(currentAnimProperty, true);
|
||||||
}
|
}
|
||||||
@@ -315,7 +315,7 @@ public class EntityTask {
|
|||||||
|
|
||||||
if (play) {
|
if (play) {
|
||||||
setAnimationProperty("modelengine:anim_stop");
|
setAnimationProperty("modelengine:anim_stop");
|
||||||
model.getViewers().forEach(viewer -> updateEntityProperties(viewer, true));
|
model.getViewers().forEach(viewer -> updateEntityProperties(viewer, false));
|
||||||
currentAnimationPriority.set(p);
|
currentAnimationPriority.set(p);
|
||||||
|
|
||||||
String id = "animation." + activeModel.getBlueprint().getName().toLowerCase() + "." + animationProperty.getName().toLowerCase();
|
String id = "animation." + activeModel.getBlueprint().getName().toLowerCase() + "." + animationProperty.getName().toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user