115
This commit is contained in:
1 parent
718fb38d7d
commit
4f0389fa7e
1 file changed
+1
-1
@@ -816,7 +816,7 @@ public class CarpetExpression
|
|||||||
Chunk chunk = ((CarpetContext)c).s.getWorld().getChunk(pos.getX()>>4, pos.getZ()>>4, ChunkStatus.EMPTY, forceLoad);
|
Chunk chunk = ((CarpetContext)c).s.getWorld().getChunk(pos.getX()>>4, pos.getZ()>>4, ChunkStatus.EMPTY, forceLoad);
|
||||||
if (chunk == null)
|
if (chunk == null)
|
||||||
return LazyValue.NULL;
|
return LazyValue.NULL;
|
||||||
Value retval = new StringValue(chunk.getStatus().getName());
|
Value retval = new StringValue(chunk.getStatus().getId());
|
||||||
return (c_, t_) -> retval;
|
return (c_, t_) -> retval;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user