From c70199b355ab3bf6dc8c880c5af61e78eb8dc0cc Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 14 Oct 2020 20:13:06 -0400 Subject: [PATCH] Fix Default Game Mode Patch --- mods/src/extra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/src/extra.c b/mods/src/extra.c index af4cf37..3f37a8a 100644 --- a/mods/src/extra.c +++ b/mods/src/extra.c @@ -184,7 +184,8 @@ __attribute__((constructor)) static void init() { // Set Default Game Mode unsigned char default_game_mode_patch[4] = {default_game_mode ? 0x01 : 0x00, 0x30, 0xa0, 0xe3}; - patch((void *) 0xba744, default_game_mode_patch); + patch((void *) 0x3d9b8, default_game_mode_patch); + patch((void *) 0x38a78, default_game_mode_patch); // Disable Item Dropping When Cursor Is Hidden tickItemDrop_original = overwrite((void *) tickItemDrop, tickItemDrop_injection);