mirror of
https://github.com/minetest-mods/throwing.git
synced 2025-01-25 01:20:21 +01:00
Remove setting check in README example
This commit is contained in:
parent
1351906574
commit
6de69cdf76
@ -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
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user