mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-13 04:35:28 +01:00
Clarify that punch toolcaps are not optional (#16720)
This commit is contained in:
@@ -129,7 +129,7 @@ public:
|
||||
|
||||
// Returns added tool wear
|
||||
virtual u32 punch(v3f dir,
|
||||
const ToolCapabilities *toolcap = nullptr,
|
||||
const ToolCapabilities &toolcap,
|
||||
ServerActiveObject *puncher = nullptr,
|
||||
float time_from_last_punch = 1000000.0f,
|
||||
u16 initial_wear = 0)
|
||||
|
||||
Reference in New Issue
Block a user