Fills the entire region with a specified block using the extended world fill helper.
| Name | Type | Description |
|---|---|---|
blockId | number | The block ID to place. Use 0 for air. |
metadata | number, optional | Optional block data value. |
Returns the value from the extended world.fill() helper.
command('cleararena', { op = true }, function(sender)
arenaRegion:fill(0) -- clear with air
sender:send("Arena cleared.")
return true
end)