Change how ticking works a little

This commit is contained in:
2026-10-10 20:11:03 -03:00
parent f4cf1d8fa8
commit be05f70fb5
6 changed files with 96 additions and 15 deletions
-3
View File
@@ -800,9 +800,6 @@ interface GrowableBlockParams {
function register_growable_block(ctx: ServerContext) {
ctx.components.register_block<GrowableBlockParams>("bworld:growable_block", {
on_create(block) {
block.data = {};
},
on_new_day(block, params, day) {
console.log(ctx.world.get_block(block.x, block.y + 1, block.z));
if (ctx.world.get_block(block.x, block.y + 1, block.z) !== "bworld:air") {