From a9444fbf27675488675b92365212afb32287e249 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 1 Dec 2021 06:54:20 -0500 Subject: [PATCH] Add Sign To Expanded Creative Inventory --- mods/src/creative/creative.cpp | 1 + symbols/include/symbols/minecraft.h | 1 + 2 files changed, 2 insertions(+) diff --git a/mods/src/creative/creative.cpp b/mods/src/creative/creative.cpp index 9c930cfd4..b2c263263 100644 --- a/mods/src/creative/creative.cpp +++ b/mods/src/creative/creative.cpp @@ -20,6 +20,7 @@ static void inventory_add_item(unsigned char *inventory, unsigned char *item, bo // Expand Creative Inventory static void Inventory_setupDefault_FillingContainer_addItem_call_injection(unsigned char *filling_container) { // Add Items + inventory_add_item(filling_container, *Item_sign, false); inventory_add_item(filling_container, *Item_flintAndSteel, false); inventory_add_item(filling_container, *Item_snowball, false); inventory_add_item(filling_container, *Item_egg, false); diff --git a/symbols/include/symbols/minecraft.h b/symbols/include/symbols/minecraft.h index d15338161..0af766964 100644 --- a/symbols/include/symbols/minecraft.h +++ b/symbols/include/symbols/minecraft.h @@ -26,6 +26,7 @@ static char **default_username = (char **) 0x1c250; // StevePi static char **minecraft_pi_version = (char **) 0x4b2a0; // v0.1.0 alpha static char **demo_level_name = (char **) 0x3a37c; // _DemoLevel +static unsigned char **Item_sign = (unsigned char **) 0x1da764; // Item static unsigned char **Item_flintAndSteel = (unsigned char **) 0x1da680; // Item static unsigned char **Item_snowball = (unsigned char **) 0x1da770; // Item static unsigned char **Item_shears = (unsigned char **) 0x1da7b0; // Item