add 'on_breaking', 'on_block_breaking' events
This commit is contained in:
@@ -77,6 +77,9 @@ namespace scripting {
|
||||
void on_block_replaced(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
void on_block_breaking(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
void on_block_broken(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user