mirror of
https://github.com/minetest-mods/throwing.git
synced 2025-01-09 17:50:25 +01:00
Remove setting check in README example
This commit is contained in:
parent
1351906574
commit
6de69cdf76
@ -76,8 +76,7 @@ Definition: definition table, containing:
|
||||
]]
|
||||
|
||||
-- Example:
|
||||
if get_setting("arrow") then
|
||||
throwing.register_arrow("arrow", {
|
||||
throwing.register_arrow("arrow", {
|
||||
itemcraft = "default:steel_ingot",
|
||||
craft_quantity = 16,
|
||||
description = "Arrow",
|
||||
@ -90,6 +89,5 @@ if get_setting("arrow") then
|
||||
damage_groups = {fleshy = 3}
|
||||
})
|
||||
end
|
||||
})
|
||||
end
|
||||
})
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user