File Details
arcadia-prestige-1.2.4
- R
- Apr 28, 2026
- 149.29 KB
- 59
- 1.21.1
- NeoForge
File Name
arcadia-prestige-1.2.4.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
## [1.2.4] - 2026-04-28 (latest)
### Fixed
- **Carousel arrows could bypass module permissions** — `DashboardMenu.navigateTab` (slot 0 / slot 8 of the dashboard's top row) called the unfiltered `ArcadiaModRegistry.resolveCarouselTarget` and would happily land the player on any registered card — including the Admin Panel card — without re-checking `card.permissionNode()`. Combined with the Admin Panel's `adminpanel:open` server action not re-validating the permission, any player could open the admin GUI by spamming the prev/next arrows. Now uses the new permission-aware `resolveCarouselTarget(currentTab, direction, ServerPlayer)` from arcadia-lib ≥ 1.2.6 — cards the player can't see are skipped over in the arrow rotation.
### Correctifs
- **Les flèches du carousel pouvaient bypass les permissions des modules** — `DashboardMenu.navigateTab` (slot 0 / slot 8 de la rangée du haut du dashboard) appelait le résolveur `ArcadiaModRegistry.resolveCarouselTarget` non filtré et faisait atterrir le joueur sur n'importe quelle carte enregistrée — y compris la carte Admin Panel — sans revérifier `card.permissionNode()`. Combiné au fait que le server action `adminpanel:open` ne revalidait pas la permission, n'importe quel joueur pouvait ouvrir le GUI admin en spammant les flèches prev/next. Utilise maintenant le nouveau `resolveCarouselTarget(currentTab, direction, ServerPlayer)` sensible aux permissions de arcadia-lib ≥ 1.2.6 — les cartes que le joueur ne peut pas voir sont sautées dans la rotation des flèches.

