Upgrade toggle switches incorrectly aligned
flibdev opened this issue ยท 1 comments
Describe the bug
The toggle switches for backpack upgrades are aligned incorrectly when backpacks are configured to have fewer rows than default.
Initially noticed on the Valhesia 5 modpack, but replicated on a vanilla Forge server with only Sophisticated Backpacks (and Sophisticated Core) installed.
To Reproduce
Steps to reproduce the behavior:
- Set up Forge server and add Sophisticated Backpacks and Core mods
- Add a
defaultconfigs/sophisticatedbackpacks-server.toml
config file and change theinventorySlotCount
for a backpack to something smaller than the default. For the screenshots, I used this configuration:
[server]
[server.netheriteBackpack]
inventorySlotCount = 27
upgradeSlotCount = 7
- Open game, add upgrades to altered backpack
- See toggle switches do not align with their upgrades
Expected behavior
The toggle switches should align to their upgrades, but seem to be assuming their container will be higher up.
Screenshots
Unmodified Diamond Backpack | Modified Netherite Backpack |
---|---|
Versions
Minecraft 1.20.1
forge-1.20.1-47.1.0
sophisticatedcore-1.20.1-0.5.83.395
sophisticatedbackpacks-1.20.1-3.18.56.890