Fix Small Bug
minecraft-pi-reborn/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2021-11-30 21:58:44 +00:00
parent dbee357ebc
commit 55679dd54c
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ static void Minecraft_init_injection(unsigned char *this) {
// Enable Crosshair In Touch GUI
*(options + Options_split_controls_property_offset) = 1;
// Peaceful Mode
*(int32_t *) (options + Options_split_controls_property_offset) = peaceful_mode ? 0 : 2;
*(int32_t *) (options + Options_peaceful_mode_property_offset) = peaceful_mode ? 0 : 2;
// 3D Anaglyph
*(options + Options_3d_anaglyph_property_offset) = anaglyph;
// Smooth Lighting