Skip to content

Commit d116406

Browse files
committed
fix: uhh
1 parent c9210cf commit d116406

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/modules/places/base/actions/rotting.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ const takeMaterialsCooldown = new Cooldown(takeMaterialsTime, false, cooldowns.g
3535
system.runInterval(
3636
() => {
3737
for (const base of BaseRegion.getAll()) {
38+
if (!(base instanceof BaseRegion)) continue
39+
3840
const block = getBlockStatus({ location: base.area.center, dimensionType: base.dimensionType })
3941
const isLoaded = anyPlayerNearRegion(base, 20)
4042
if (block === 'unloaded' || !isLoaded) continue

0 commit comments

Comments
 (0)