diff options
Diffstat (limited to 'plugins/cherry')
-rw-r--r-- | plugins/cherry/cherry.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/cherry/cherry.c b/plugins/cherry/cherry.c index f998770..1f96aca 100644 --- a/plugins/cherry/cherry.c +++ b/plugins/cherry/cherry.c @@ -6,8 +6,6 @@ static bool use_cherry(struct itemstack *stack) { - (void) stack; - add_health(&player, 2); return true; } @@ -56,7 +54,7 @@ static struct entity cherry_entity = { .on_damage = NULL, }; -static void spawn_cherry(int x, int y) +static void spawn_cherry(int x, int y, enum mg_context ctx) { spawn(cherry_entity, x, y, NULL); } |