diff --git a/common/src/main/java/net/quepierts/simpleanimator/core/network/packet/batch/ClientUpdateAnimationPacket.java b/common/src/main/java/net/quepierts/simpleanimator/core/network/packet/batch/ClientUpdateAnimationPacket.java index d7667b6..63a42c4 100644 --- a/common/src/main/java/net/quepierts/simpleanimator/core/network/packet/batch/ClientUpdateAnimationPacket.java +++ b/common/src/main/java/net/quepierts/simpleanimator/core/network/packet/batch/ClientUpdateAnimationPacket.java @@ -16,9 +16,7 @@ public class ClientUpdateAnimationPacket implements ISync { public static final Type TYPE = NetworkPackets.createType(ClientUpdateAnimationPacket.class); private final Map animations; - protected ClientUpdateAnimationPacket() { - this.animations = Collections.emptyMap(); - } + public ClientUpdateAnimationPacket(Map map) { this.animations = ImmutableMap.copyOf(map); }