Affects Version/s: Minecraft 1.13, Minecraft 18w30a
Fix Version/s: None
Environment:Windows 7 Ultimate 32-bit
CPU AMD Athlon II X2 250
4GO RAM DDR3 535MHz
Motherboard ASRock N68-VS3 FX
Video card NVIDIA GeForce 7025 / nForce 630a
When you give yourself the resistance effect with the effect command and the level is bigger than 127, the resistance will work as espected, but if you leave your world, rejoin and try to take damage, the effect status displays in the GUI, but you take damage as if you would have no effect on. I gave myself the effect with a duration of 999999 (the max value), but I doubt it has to do with the said bug, even though I didn't experiment with durations as well.