disable fall damage

master
zmv7 2022-08-09 17:22:40 +05:00 committed by GitHub
parent d3289c1e17
commit 298b78f338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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