Bottle Your XP doesn't decrease levels if level curve is changed
Partonetrain opened this issue ยท 2 comments
Information
Minecraft version: 1.20.1
Modloader: Fabric
Fabric loader version: 0.15.11
Environment: Both Singleplayer / Multiplayer
Mod name: Bottle Your XP
Mod version: 3.3
Collective version 1.20.1-7.6.1 (I think this is where the issue lies ... seems like experience curve is hardcoded here instead of referencing Player#getXpNeededForNextLevel)
Description
When experience level curve is changed, Bottling does not decrease level amount, only points, making experience dupable. To reproduce, set own level with commands, then shift-click glass bottle
No crash.
I am unsure how to fix this. I see you're the author of the mod, could you help me out?
I'm already checking for player.getXpNeededForNextLevel()
:
But I guess this is hardcoded?