I'll explain it quickly, i just reset my server and changed the version (forge 1.19 41.1.0) and when i join my server or a solo world, the game crashes and shows me this :
Code
The game crashed whilst exception in server tick loop
Error: java.lang.NoSuchMethodError: 'net.minecraft.world.entity.player.Player net.minecraftforge.event.entity.player.PlayerEvent$PlayerLoggedInEvent.getPlayer()'
it would be nice if somebody could explain it to me (by the way, my server is modded and it was 1.16.5 forge (also modded) before the incident.)