Correct config value name for action bar, fix attributes error

This commit is contained in:
libraryaddict
2020-02-03 17:42:47 +13:00
parent dc066a07dd
commit 9bf3e81ded
3 changed files with 6 additions and 6 deletions

View File

@@ -63,10 +63,10 @@ public class PacketHandlerAttributes implements IPacketHandler {
}
if (!attributes.isEmpty()) {
packets.getPackets().get(0).getIntegers().write(0, entity.getEntityId());
packets.getPackets().get(0).getAttributeCollectionModifier().write(0, attributes);
packets.addPacket(updateAttributes);
updateAttributes.getIntegers().write(0, entity.getEntityId());
updateAttributes.getAttributeCollectionModifier().write(0, attributes);
}
}
}