flytegg / flytegg/plugin-portal

[Bug]: Some modrinth plugins install wrong version

Open
#83 10 comments 1 reaction 1 assignee Claimed by @MLGPenguin View on GitHub
bug
Dominant language
Kotlin
Stars
92
Forks
15
Avg merge
49m
Merged PRs (30d)
4

Description

### Description

when installing https://modrinth.com/plugin/advanced-portals/versions it's getting the oldest version v0.0.41 from 2 years ago instead of the newest version.

doing it via the command `/pp view "axTqSWQA" MODRINTH --byId`
history log looks like this:
```
[25/12/24 11:38:59] simcop2387 INITIATED_INSTALL Advanced Portals from MODRINTH with ID 667c31de64b550bf31f1b309
[25/12/24 11:38:59] simcop2387 INSTALL Advanced Portals from MODRINTH with ID 667c31de64b550bf31f1b309
```

and plugins.json shows
``` {
"platformId": "axTqSWQA",
"name": "Advanced Portals",
"version": "0.0.41",
"platform": "MODRINTH",
"sha256": "11ac44a946db39b269a0afb0e33a3e2c9727a144982427aefa1ed4b92a98c530",
"sha512": "75bb265d56341e7353651b2301e2a0ddc72e717049ceba6b2bf2673a9ec0a0371694e9c2e58b24fbeecb1c53add4ea6e33b746d6df22a1dd09347aa211c523fa",
"installedAt": 1735126739751
}
```

I'm running papermc 1.21.4 (from their experimental downloads, can find the exact build number if needed)

### Minimal Reproduction

install with /pp install "axTqSWQA" MODRINTH --byId

### Exception or Error

https://mclo.gs/yh3cALk

### Dump

https://mclo.gs/yh3cALk

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.