Add Display Nametags By Default

This commit is contained in:
TheBrokenRail 2021-02-03 20:58:43 -05:00
parent d10274988e
commit e7d0d66e54
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ TRUE 'Fix Attacking'
TRUE 'Mob Spawning'
TRUE 'Fancy Graphics'
TRUE 'Disable Autojump By Default'
TRUE 'Display Nametags By Default'
TRUE 'Fix Sign Placement'
TRUE 'Show Block Outlines'
FALSE 'Expand Creative Inventory'

View File

@ -118,6 +118,11 @@ void init_options() {
unsigned char autojump_patch[4] = {0x00, 0x30, 0xa0, 0xe3};
patch((void *) 0x44b90, autojump_patch);
}
if (feature_has("Display Nametags By Default")) {
// Display Nametags By Default
unsigned char display_nametags_patch[4] = {0x1d, 0x60, 0xc0, 0xe5};
patch((void *) 0xa6628, display_nametags_patch);
}
// Show Block Outlines
int block_outlines = feature_has("Show Block Outlines");