From bfcda608695b83ce6a3caefceaa79c8e392405d7 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sun, 13 Jun 2021 20:41:17 +0200 Subject: Add on_create callback for items --- plugins/cherry/cherry.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/cherry/cherry.c') diff --git a/plugins/cherry/cherry.c b/plugins/cherry/cherry.c index 436fcf9..f998770 100644 --- a/plugins/cherry/cherry.c +++ b/plugins/cherry/cherry.c @@ -18,6 +18,7 @@ static struct item cherry_item = { .on_use = &use_cherry, .on_destroy = NULL, + .on_create = NULL, }; static void cherry_step(struct entity *self, struct entity_step_data stepdata) -- cgit v1.2.3