Open ath0rus opened 3 weeks ago
this also: " The game crashed whilst unexpected error Error: java.lang.ClassCastException: class net.minecraft.client.player.LocalPlayer cannot be cast to class tschipp.carryon.common.carry.CarryOnDataManager$ICarrying (net.minecraft.client.player.LocalPlayer is in module minecraft@1.21.1 of loader 'TRANSFORMER' @3fcee3d9; tschipp.carryon.common.carry.CarryOnDataManager$ICarrying is in module carryon@2.2.2 of loader 'TRANSFORMER' @3fcee3d9) " i didnt had any other mod
Minecraft Version: 1.21.1 Forge Version: 52.0.24 Java Version: 21.0.5
Issue: Game crashes with ClassCastException in CarryOnDataManager.getCarryData when loading a save. The error appears to be related to casting ServerPlayer objects.
Error Message:
java.lang.ClassCastException: class net.minecraft.server.level.ServerPlayer cannot be cast to class tschipp.carryon.common.carry.CarryOnDataManager$ICarrying at tschipp.carryon.common.carry.CarryOnDataManager.getCarryData(CarryOnDataManager.java:33) at tschipp.carryon.CarryOnCommon.onCarryTick(CarryOnCommon.java:102) at tschipp.carryon.events.CommonEvents.onServerTick(CommonEvents.java:182)
Mod List:
Steps to Reproduce:
Troubleshooting:
Log FIle: ---- Minecraft Crash Report ----.txt