reenable owner and allowlist check
@@ -14,6 +14,7 @@ import net.geforcemods.securitycraft.misc.BlockEntityTracker;
import net.geforcemods.securitycraft.misc.ModuleType;
import net.geforcemods.securitycraft.util.BlockUtils;
import net.geforcemods.securitycraft.util.ITickingBlockEntity;
+import net.geforcemods.securitycraft.util.ModuleUtils;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;
@@ -46,9 +47,8 @@ public class BlockChangeDetectorBlockEntity extends DisguisableBlockEntity imple
if (mode != DetectionMode.BOTH && action != mode)
return;
- //TODO: reenable
- // if (getOwner().isOwner(player) || ModuleUtils.isAllowed(this, player))
- // return;
+ if (getOwner().isOwner(player) || ModuleUtils.isAllowed(this, player))
+ return;
//don't detect self
if (pos.equals(getBlockPos()))
