Catch Runtime Errors (Section) — Skript
Addon: Skript · Category: Section · Since: 2.12
Syntax
catch [run[ ]time] error[s]Description
Catch any runtime errors produced by code within the section. This is an in progress feature.
Examples
catch runtime errors:
set worldborder center of {_border} to location(0, 0, NaN value)
if last caught runtime errors contains "Your location can't have a NaN value as one of its components":
set worldborder center of {_border} to location(0, 0, 0)