From 1232262718f627534dc4c1e4c931e10d054c32b6 Mon Sep 17 00:00:00 2001 From: justuswolff Date: Tue, 17 Feb 2026 22:02:55 +0100 Subject: [PATCH] fix a bit more stuff --- src/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.lua b/src/main.lua index 3a82cf9..d7cd04c 100644 --- a/src/main.lua +++ b/src/main.lua @@ -75,7 +75,7 @@ local function load(name) return content["buf"],content["dimensions"] end local function bufistype(buf, x,y,z, targettype) - return buf[posasstring(x,y,z)] == targettype or (targettype == 0 and not buf[posasstring(x,y,z)]) + return buf[posasstring(x,y,z)] == targettype or (targettype == 0 and buf[posasstring(x,y,z)] == nil) end local function fill_getneighbors(x,y,z, sx,sz, seltype,buf) local out = {}