diff --git a/src/main/java/miyucomics/hexical/casting/patterns/OpBrainswept.kt b/src/main/java/miyucomics/hexical/casting/patterns/OpBrainswept.kt index c6792d76..c955e206 100644 --- a/src/main/java/miyucomics/hexical/casting/patterns/OpBrainswept.kt +++ b/src/main/java/miyucomics/hexical/casting/patterns/OpBrainswept.kt @@ -12,6 +12,7 @@ class OpBrainswept : ConstMediaAction { override val argc = 1 override fun execute(args: List, ctx: CastingContext): List { val entity = args.getEntity(0, argc) + ctx.assertEntityInRange(entity) if (entity is MobEntity) return IXplatAbstractions.INSTANCE.isBrainswept(entity).asActionResult return (false).asActionResult