Rename engine to cubi
This commit is contained in:
@@ -203,7 +203,7 @@ export class BlockRules {
|
||||
let neighbor: SharedBlock | undefined;
|
||||
for (const { mod, id: rules_id, rules, params } of this.#of(block)) {
|
||||
if (!rules.on_neighbor_change) continue;
|
||||
const changed = neighbor ??= { ...from, id: this.get_block(from.x, from.y, from.z) ?? "bworld:air" };
|
||||
const changed = neighbor ??= { ...from, id: this.get_block(from.x, from.y, from.z) ?? "cubi:air" };
|
||||
const at = { x, y, z, id };
|
||||
this.run(mod, `${rules_id} on_neighbor_change`, () => rules.on_neighbor_change!(at, params, changed));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user