Lag Protect
This mod protects players from damage during lag spikes
Requires Fabric API
Usage
/gamerule lagProtect <Sensitivity in ticks>
default: 10 (10*50 = 500ms)
lower = more sensitive, higher = less sensitive
set to 0 to disable
License
This mod is available under the MIT license.