mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix player double damage
This commit is contained in:
parent
c357985135
commit
2dc9a0c724
5 changed files with 11 additions and 3 deletions
|
@ -142,8 +142,8 @@ void ServerRemotePlayer::punch(ServerActiveObject *puncher,
|
|||
// "Material" properties of a player
|
||||
MaterialProperties mp;
|
||||
mp.diggability = DIGGABLE_NORMAL;
|
||||
mp.crackiness = -1.0;
|
||||
mp.cuttability = 1.0;
|
||||
mp.crackiness = -0.5;
|
||||
mp.cuttability = 0.5;
|
||||
|
||||
ToolDiggingProperties tp;
|
||||
puncher->getWieldDiggingProperties(&tp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue