Small Tweaks
All checks were successful
CI / Build (AMD64, Server) (push) Successful in 12m46s
CI / Build (AMD64, Client) (push) Successful in 13m3s
CI / Build (ARM64, Server) (push) Successful in 13m8s
CI / Build (ARM64, Client) (push) Successful in 15m26s
CI / Build (ARMHF, Server) (push) Successful in 9m10s
CI / Build (ARMHF, Client) (push) Successful in 11m55s
CI / Test (Server) (push) Successful in 14m0s
CI / Test (Client) (push) Successful in 16m6s
CI / Release (push) Has been skipped
CI / Build Example Mods (push) Successful in 7m55s

This commit is contained in:
TheBrokenRail 2024-05-16 04:07:02 -04:00
parent f25a2adcef
commit 6cfc1a7e20
3 changed files with 4 additions and 3 deletions

View File

@ -23,6 +23,7 @@
* `Force Survival Mode Inventory UI` (Disabled By Default)
* `Force Survival Mode Inventory Behavior` (Disabled By Default)
* `Maximize Creative Mode Inventory Stack Size` (Disabled By Default)
* Rename `Disable Buggy Held Item Caching` Feature Flag To `Fix Held Item Caching`
* Add Milk Buckets
* Implement Crafting Remainders
* Improve Death Messages

View File

@ -64,6 +64,6 @@ FALSE Food Overlay
TRUE Add Splashes
TRUE Display Date In Select World Screen
TRUE Optimized Chunk Sorting
TRUE Disable Buggy Held Item Caching
TRUE Fix Held Item Caching
TRUE Add Reborn Info To Options
FALSE Track FPS

View File

@ -578,7 +578,7 @@ static void glColor4f_injection(__attribute__((unused)) GLfloat red, __attribute
line_width = strtof(custom_line_width, nullptr);
} else {
// Guess
line_width = 2 / Gui_InvGuiScale;
line_width = 1.5f / Gui_InvGuiScale;
}
// Clamp Line Width
float range[2];
@ -959,7 +959,7 @@ void init_misc() {
overwrite_calls(Player_stopUsingItem, Player_stopUsingItem_injection);
// Fix invalid ItemInHandRenderer texture cache
if (feature_has("Disable Buggy Held Item Caching", server_disabled)) {
if (feature_has("Fix Held Item Caching", server_disabled)) {
// This works by forcing MCPI to always use the branch that enables using the
// cache, but then patches that as well to do the opposite
uchar ensure_equal_patch[] = {0x07, 0x00, 0x57, 0xe1}; // "cmp r7, r7"