mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 09:59:44 +00:00
fix block.set behaviour if world is not open
Some checks failed
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Has been cancelled
Build / Build (push) Has been cancelled
Macos Build / build-dmg (push) Has been cancelled
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Has been cancelled
MSVC Build / build-windows (windows-2022) (push) Has been cancelled
Some checks failed
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Has been cancelled
Build / Build (push) Has been cancelled
Macos Build / build-dmg (push) Has been cancelled
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Has been cancelled
MSVC Build / build-windows (windows-2022) (push) Has been cancelled
This commit is contained in:
parent
24ba0ff2dc
commit
bf55ffa183
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ static int l_set(lua::State* L) {
|
||||||
|
|
||||||
auto chunksController = controller->getChunksController();
|
auto chunksController = controller->getChunksController();
|
||||||
if (chunksController == nullptr) {
|
if (chunksController == nullptr) {
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
if (chunksController->lighting) {
|
if (chunksController->lighting) {
|
||||||
Lighting& lighting = *chunksController->lighting;
|
Lighting& lighting = *chunksController->lighting;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue