Add Sign To Expanded Creative Inventory

This commit is contained in:
TheBrokenRail 2021-12-01 06:54:20 -05:00
parent 51c12db49c
commit 3de52ceab3
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ static void inventory_add_item(unsigned char *inventory, unsigned char *item, bo
// Expand Creative Inventory // Expand Creative Inventory
static void Inventory_setupDefault_FillingContainer_addItem_call_injection(unsigned char *filling_container) { static void Inventory_setupDefault_FillingContainer_addItem_call_injection(unsigned char *filling_container) {
// Add Items // Add Items
inventory_add_item(filling_container, *Item_sign, false);
inventory_add_item(filling_container, *Item_flintAndSteel, false); inventory_add_item(filling_container, *Item_flintAndSteel, false);
inventory_add_item(filling_container, *Item_snowball, false); inventory_add_item(filling_container, *Item_snowball, false);
inventory_add_item(filling_container, *Item_egg, false); inventory_add_item(filling_container, *Item_egg, false);

View File

@ -29,6 +29,7 @@ static char **default_username = (char **) 0x1c250; // StevePi
static char **minecraft_pi_version = (char **) 0x4b2a0; // v0.1.0 alpha static char **minecraft_pi_version = (char **) 0x4b2a0; // v0.1.0 alpha
static char **classic_options_button_text = (char **) 0x4af30; // Options 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_flintAndSteel = (unsigned char **) 0x1da680; // Item
static unsigned char **Item_snowball = (unsigned char **) 0x1da770; // Item static unsigned char **Item_snowball = (unsigned char **) 0x1da770; // Item
static unsigned char **Item_shears = (unsigned char **) 0x1da7b0; // Item static unsigned char **Item_shears = (unsigned char **) 0x1da7b0; // Item