Fix Example Mods (Again)
All checks were successful
CI / Build (AMD64) (push) Successful in 18m43s
CI / Build (ARM64) (push) Successful in 20m13s
CI / Build (ARMHF) (push) Successful in 11m29s
CI / Test (ARM64, Client) (push) Successful in 3m52s
CI / Build Example Mods (push) Successful in 1m49s
CI / Test (ARM64, Server) (push) Successful in 50s
CI / Test (AMD64, Client) (push) Successful in 6m48s
CI / Test (ARMHF, Client) (push) Successful in 4m2s
CI / Test (ARMHF, Server) (push) Successful in 1m0s
CI / Test (AMD64, Server) (push) Successful in 1m21s
CI / Release (push) Has been skipped

This commit is contained in:
TheBrokenRail 2024-07-15 03:09:19 -04:00
parent 88f59d951a
commit e837610380
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ HOOK(chat_handle_packet_send, void, (Minecraft *minecraft, ChatPacket *packet))
if (out.length() > 0 && out[out.length() - 1] == '\n') {
out[out.length() - 1] = '\0';
}
gui->addMessage(&out);
gui->addMessage(out);
} else {
// Call Original Method
ensure_chat_handle_packet_send();

View File

@ -32,7 +32,7 @@ static void Recipes_injection(Recipes *recipes) {
.auxiliary = 0
};
std::vector<Recipes_Type> types = {type1, type2};
recipes->addShapelessRecipe(&result, &types);
recipes->addShapelessRecipe(result, types);
}
// Custom Furnace Recipes
@ -43,7 +43,7 @@ static void FurnaceRecipes_injection(FurnaceRecipes *recipes) {
.id = 246,
.auxiliary = 0
};
recipes->addFurnaceRecipe(49, &result);
recipes->addFurnaceRecipe(49, result);
}
// Init