From 3de52ceab33b7988de217b9b5329f05343836676 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 ff8aee16d..244898364 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 00790bbd5..d1d54367f 100644 --- a/symbols/include/symbols/minecraft.h +++ b/symbols/include/symbols/minecraft.h @@ -29,6 +29,7 @@ static char **default_username = (char **) 0x1c250; // StevePi static char **minecraft_pi_version = (char **) 0x4b2a0; // v0.1.0 alpha static char **classic_options_button_text = (char **) 0x4af30; // Options +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