Skip to content

Commit

Permalink
1.2.3
Browse files Browse the repository at this point in the history
Fix Code
  • Loading branch information
LouisQuepierts committed Aug 20, 2024
1 parent 7e30286 commit 0ce5750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ public class ClientAnimator extends Animator {
private boolean processed = false;
private boolean shouldUpdate = false;

@Nullable
private Player player;

public ClientAnimator(UUID uuid) {
super(uuid);

Expand Down Expand Up @@ -86,7 +83,7 @@ public void sync(AnimatorDataPacket packet) {

@Override
public boolean play(ResourceLocation location) {
this.player = Minecraft.getInstance().level.getPlayerByUUID(uuid);
@Nullable Player player = Minecraft.getInstance().level.getPlayerByUUID(uuid);

if (this.animation == null)
processed = false;
Expand Down Expand Up @@ -453,8 +450,6 @@ public void reset() {
}
}

public record Cache_(Vector3f position, Quaternionf rotation) {}

static {
BUILTIN_VARIABLES = ObjectOpenHashSet.of(
IKBone.HEAD.varName,
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ enabled_platforms=fabric,neoforge


archives_base_name=SimpleAnimator
mod_version=1.2.2
mod_version=1.2.3
maven_group=net.quepierts

architectury_version=${ARCHITECTURY_API_VERSION}
Expand Down

0 comments on commit 0ce5750

Please sign in to comment.