[1.16.5] Curios & Botania - Slot 22 not in valid range
TovMachin opened this issue ยท 0 comments
Mod Loader
Forge
Minecraft Version
1.16.5
Botania version
1.16.5-420.3
Modloader version
Forge 36.2.39
Modpack info
https://www.curseforge.com/minecraft/modpacks/tensura-epic-adventures
The latest.log file
https://mcpaste.io/8348e8496c13c26c
Issue description
Server crashed with following report:
---- Minecraft Crash Report ----
// My bad.
Time: 1/31/23, 5:03 PM
Description: Ticking player
java.lang.RuntimeException: Slot 22 not in valid range - [0,22)
at net.minecraftforge.items.ItemStackHandler.validateSlotIndex(ItemStackHandler.java:207) ~[forge:?] {re:classloading}
at net.minecraftforge.items.ItemStackHandler.getStackInSlot(ItemStackHandler.java:59) ~[forge:?] {re:classloading}
at net.minecraftforge.items.wrapper.CombinedInvWrapper.getStackInSlot(CombinedInvWrapper.java:90) ~[forge:?] {re:classloading}
at vazkii.botania.common.item.CapWrapper.func_70301_a(CapWrapper.java:41) ~[botania:1.16.5-420.3] {re:classloading}
at vazkii.botania.common.item.equipment.bauble.ItemItemFinder.scanInventory(ItemItemFinder.java:207) ~[botania:1.16.5-420.3] {re:classloading,pl:runtimedistcleaner:A}
at vazkii.botania.common.item.equipment.bauble.ItemItemFinder.scanForStack(ItemItemFinder.java:159) ~[botania:1.16.5-420.3] {re:classloading,pl:runtimedistcleaner:A}
at vazkii.botania.common.item.equipment.bauble.ItemItemFinder.tickServer(ItemItemFinder.java:117) ~[botania:1.16.5-420.3] {re:classloading,pl:runtimedistcleaner:A}
at vazkii.botania.common.item.equipment.bauble.ItemItemFinder.onWornTick(ItemItemFinder.java:71) ~[botania:1.16.5-420.3] {re:classloading,pl:runtimedistcleaner:A}
at vazkii.botania.common.integration.curios.CurioIntegration$Wrapper.curioTick(CurioIntegration.java:115) ~[botania:1.16.5-420.3] {re:classloading,pl:runtimedistcleaner:A}
at top.theillusivec4.curios.common.event.CuriosEventHandler.lambda$tick$18(CuriosEventHandler.java:442) ~[curios:property(class java.lang.String, provider(?))] {re:classloading}
at net.minecraftforge.common.util.LazyOptional.ifPresent(LazyOptional.java:151) ~[forge:?] {re:mixin,re:classloading}
at top.theillusivec4.curios.common.event.CuriosEventHandler.lambda$tick$24(CuriosEventHandler.java:442) ~[curios:property(class java.lang.String, provider(?))] {re:classloading}
at net.minecraftforge.common.util.LazyOptional.ifPresent(LazyOptional.java:151) ~[forge:?] {re:mixin,re:classloading}
at top.theillusivec4.curios.common.event.CuriosEventHandler.tick(CuriosEventHandler.java:422) ~[curios:property(class
[ Skipping a little ]
-- Player being ticked --
Details:
Entity Type: minecraft:player (net.minecraft.entity.player.ServerPlayerEntity)
Entity ID: 1128
Entity Name: jdis12837
Entity's Exact location: 8594.00, 67.00, 235.00
Entity's Block location: World: (8594,67,235), Chunk: (at 2,4,11 in 537,14; contains blocks 8592,0,224 to 8607,255,239), Region: (16,0; contains chunks 512,0 to 543,31, blocks 8192,0,0 to 8703,255,511)
Entity's Momentum: 0.00, -3.20, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: Cannot invoke "net.minecraft.entity.Entity.toString()" because the return
The player in question didn't have any Botania items in his curios slots. He did however have a Wand of The Forest in his shulker in a curios slot.
But wands shouldn't be affected by onWornTick() by my logic. So I don't know how this happens and I would like to know if there is something I'm missing.
If you don't want to trouble yourselves because of the amount of mods or the complexity of this particular situation, I understand.
Nonetheless, any help is greatly appreciated!
Steps to reproduce
No response
Other information
Curios Slot for Shulker Boxes curiousshulkerboxes-forge-1.16.5-4.0.1.0.jar
Curios API curios-forge-1.16.5-4.0.5.3.jar