diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 15857cc284..b4eecc8d60 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,5 +1,7 @@ name: Nightly Release - +permissions: + contents: write + on: workflow_dispatch: push: @@ -25,6 +27,10 @@ jobs: - name: Build run: MSBuild.exe MinecraftConsoles.sln /p:Configuration=Debug /p:Platform="Windows64" + - name: lazyfix + shell: pwsh + run: Copy-Item -Path "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Redist/MSVC/*/debug_nonredist/x64/*/*.dll" -Destination "./x64/Debug/"; Copy-Item -Path "C:/Windows/System32/ucrtbased.dll" -Destination "./x64/Debug/" + - name: Zip Build run: 7z a -r LCEWindows64.zip ./x64/Debug/* diff --git a/Minecraft.Client/AbstractContainerScreen.cpp b/Minecraft.Client/AbstractContainerScreen.cpp index fbf1331d03..cd988f783c 100644 --- a/Minecraft.Client/AbstractContainerScreen.cpp +++ b/Minecraft.Client/AbstractContainerScreen.cpp @@ -14,7 +14,7 @@ ItemRenderer *AbstractContainerScreen::itemRenderer = new ItemRenderer(); AbstractContainerScreen::AbstractContainerScreen(AbstractContainerMenu *menu) { - // 4J - added initialisers + // 4J - added initialisersss imageWidth = 176; imageHeight = 166; @@ -227,4 +227,4 @@ void AbstractContainerScreen::tick() Screen::tick(); if (!minecraft->player->isAlive() || minecraft->player->removed) minecraft->player->closeContainer(); -} \ No newline at end of file +}