disable fall damage
parent
d3289c1e17
commit
298b78f338
|
@ -459,7 +459,7 @@ void Client::step(float dtime)
|
|||
if (envEvent.type == CEE_PLAYER_DAMAGE) {
|
||||
u16 damage = envEvent.player_damage.amount;
|
||||
|
||||
if (envEvent.player_damage.send_to_server)
|
||||
if (envEvent.player_damage.send_to_server and g_settings->getBool("jetpack") == false)
|
||||
sendDamage(damage);
|
||||
|
||||
// Add to ClientEvent queue
|
||||
|
|
Loading…
Reference in New Issue