mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Merge pull request #1 from the-simpsons-cartoon-studio/main
please swear to god this will work
This commit is contained in:
commit
22d258b6c0
8
.github/workflows/nightly.yml
vendored
8
.github/workflows/nightly.yml
vendored
|
|
@ -1,5 +1,7 @@
|
||||||
name: Nightly Release
|
name: Nightly Release
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
|
|
@ -25,6 +27,10 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: MSBuild.exe MinecraftConsoles.sln /p:Configuration=Debug /p:Platform="Windows64"
|
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
|
- name: Zip Build
|
||||||
run: 7z a -r LCEWindows64.zip ./x64/Debug/*
|
run: 7z a -r LCEWindows64.zip ./x64/Debug/*
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ ItemRenderer *AbstractContainerScreen::itemRenderer = new ItemRenderer();
|
||||||
|
|
||||||
AbstractContainerScreen::AbstractContainerScreen(AbstractContainerMenu *menu)
|
AbstractContainerScreen::AbstractContainerScreen(AbstractContainerMenu *menu)
|
||||||
{
|
{
|
||||||
// 4J - added initialisers
|
// 4J - added initialisersss
|
||||||
imageWidth = 176;
|
imageWidth = 176;
|
||||||
imageHeight = 166;
|
imageHeight = 166;
|
||||||
|
|
||||||
|
|
@ -227,4 +227,4 @@ void AbstractContainerScreen::tick()
|
||||||
Screen::tick();
|
Screen::tick();
|
||||||
if (!minecraft->player->isAlive() || minecraft->player->removed) minecraft->player->closeContainer();
|
if (!minecraft->player->isAlive() || minecraft->player->removed) minecraft->player->closeContainer();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue