-
-
Save rubenwardy/723c07b28d964008c4d2c4ff3c28975c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local old_calculate_knockback = minetest.calculate_knockback | |
function minetest.calculate_knockback(player, ...) | |
if beds.player[player:get_player_name()] then | |
return 0 | |
end | |
return old_calculate_knockback(player, ...) | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment