mirror of
https://github.com/minetest-mods/throwing.git
synced 2025-10-16 02:15:37 +02:00
Remove setting check in README example
This commit is contained in:
@@ -76,7 +76,6 @@ Definition: definition table, containing:
|
|||||||
]]
|
]]
|
||||||
|
|
||||||
-- Example:
|
-- Example:
|
||||||
if get_setting("arrow") then
|
|
||||||
throwing.register_arrow("arrow", {
|
throwing.register_arrow("arrow", {
|
||||||
itemcraft = "default:steel_ingot",
|
itemcraft = "default:steel_ingot",
|
||||||
craft_quantity = 16,
|
craft_quantity = 16,
|
||||||
@@ -91,5 +90,4 @@ if get_setting("arrow") then
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
end
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user