[Bug] Crash on buy with Money And Sign Shop
jblemee opened this issue ยท 1 comments
Modloader
NeoForge
Minecraft version
1.21.5
Modloader version
21.5.75
Mod version
1.11.11
Description
Try to buy claims with diceMCMoneySign crash the server
Steps to reproduce
- Install Flan and diceMCMoneySign mod
- try to buy claim block with
/flan buy - The server crash
Mods that might affect the issue
https://www.curseforge.com/minecraft/mc-mods/dicemc-money-mod/files/5934828
Logs
Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception
java.lang.NoSuchMethodError: 'dicemc.money.storage.MoneyWSD dicemc.money.storage.MoneyWSD.get(net.minecraft.server.level.ServerLevel)'
at TRANSFORMER/[email protected]/io.github.flemmli97.flan.neoforge.platform.integration.currency.CommandCurrencyImpl.buyClaimBlocks(CommandCurrencyImpl.java:55) ~[flan-1.21.5-1.11.11-neoforge.jar%23163!/:?]
at TRANSFORMER/[email protected]/io.github.flemmli97.flan.config.BuySellHandler.buy(BuySellHandler.java:84) ~[flan-1.21.5-1.11.11-neoforge.jar%23163!/:?]
at TRANSFORMER/[email protected]/io.github.flemmli97.flan.commands.CommandClaim.buyClaimBlocks(CommandClaim.java:1079) ~[flan-1.21.5-1.11.11-neoforge.jar%23163!/:?]
Solution: ReplaceMoneyWSD.get(player.serverLevel()); by MoneyWSD.get(); The API Changed on this commit: Caltinor/DiceMC-Money-Mod@63f584f