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/inventory/inventory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/inventory/inventory.h') diff --git a/plugins/inventory/inventory.h b/plugins/inventory/inventory.h index 4b13f94..437ffb6 100644 --- a/plugins/inventory/inventory.h +++ b/plugins/inventory/inventory.h @@ -16,6 +16,7 @@ struct item bool (*on_use)(struct itemstack *stack); void (*on_destroy)(struct itemstack *stack); + void (*on_create)(struct itemstack *stack); }; struct inventory -- cgit v1.2.3