Add Display Nametags By Default
This commit is contained in:
parent
d10274988e
commit
e7d0d66e54
@ -4,6 +4,7 @@ TRUE 'Fix Attacking'
|
|||||||
TRUE 'Mob Spawning'
|
TRUE 'Mob Spawning'
|
||||||
TRUE 'Fancy Graphics'
|
TRUE 'Fancy Graphics'
|
||||||
TRUE 'Disable Autojump By Default'
|
TRUE 'Disable Autojump By Default'
|
||||||
|
TRUE 'Display Nametags By Default'
|
||||||
TRUE 'Fix Sign Placement'
|
TRUE 'Fix Sign Placement'
|
||||||
TRUE 'Show Block Outlines'
|
TRUE 'Show Block Outlines'
|
||||||
FALSE 'Expand Creative Inventory'
|
FALSE 'Expand Creative Inventory'
|
||||||
|
@ -118,6 +118,11 @@ void init_options() {
|
|||||||
unsigned char autojump_patch[4] = {0x00, 0x30, 0xa0, 0xe3};
|
unsigned char autojump_patch[4] = {0x00, 0x30, 0xa0, 0xe3};
|
||||||
patch((void *) 0x44b90, autojump_patch);
|
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
|
// Show Block Outlines
|
||||||
int block_outlines = feature_has("Show Block Outlines");
|
int block_outlines = feature_has("Show Block Outlines");
|
||||||
|
Loading…
Reference in New Issue
Block a user