[QUESTION] is this kubejs script the same as using this mod?
VaporeonScripts opened this issue ยท 1 comments
Question
PlayerEvents.loggedIn(event => {
if (event.player.getHealth().toString() == "NaN") event.player.setHealth(event.player.getMaxHealth())
if (event.player.getAbsorptionAmount().toString() == "NaN") event.player.setAbsorptionAmount(0)
})