From ab8de4e24d6ebd6076463ebe078fae16bc67318c Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Fri, 20 Nov 2020 14:05:08 -0500 Subject: [PATCH] Fix Block Outline Patch --- mods/src/extra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/src/extra.c b/mods/src/extra.c index ced75e3..5038bd6 100644 --- a/mods/src/extra.c +++ b/mods/src/extra.c @@ -278,6 +278,6 @@ __attribute__((constructor)) static void init() { // Show Block Outlines int block_outlines = extra_has_feature("Show Block Outlines"); - unsigned char outline_patch[4] = {block_outlines ? touch_gui : !touch_gui, 0xf0, 0x20, 0xe3}; - patch((void *) 0x4a214, outline_patch); + unsigned char outline_patch[4] = {block_outlines ? !touch_gui : touch_gui, 0x00, 0x50, 0xe3}; + patch((void *) 0x4a210, outline_patch); }