We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9210cf commit d116406Copy full SHA for d116406
src/modules/places/base/actions/rotting.ts
@@ -35,6 +35,8 @@ const takeMaterialsCooldown = new Cooldown(takeMaterialsTime, false, cooldowns.g
35
system.runInterval(
36
() => {
37
for (const base of BaseRegion.getAll()) {
38
+ if (!(base instanceof BaseRegion)) continue
39
+
40
const block = getBlockStatus({ location: base.area.center, dimensionType: base.dimensionType })
41
const isLoaded = anyPlayerNearRegion(base, 20)
42
if (block === 'unloaded' || !isLoaded) continue
0 commit comments