Gaining a Critical Hit with a Sharpness V Diamond sword while affected by weakness V, on a player with resistance IV diamond armor and the resistance V buff crashes the game.
I expected my enemy to take little to no damage. However, Minecraft crashed, and gave me an error.
Steps to Reproduce:
1. I used /effect in command blocks to give combatants restistance 5, slowness 5, weakness 5, and mining fatigue 5
2. My friend and I both used Sharpness 5 diamond swords and protection 4 diamond armor.
3. I jumped and fell to get a critical hit and, as I was falling and hitting him, Minecraft froze, then crashed.