Nodes, Items, and Crafting: Clarify a good way to remember

master
rubenwardy 2018-09-23 13:30:00 +01:00
parent c20f6d200c
commit 3936c2ebe9
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ There are two main common uses of this:
* Adding a shortcut. `/giveme dirt` is easier than `/giveme default:dirt`.
Registering an alias is pretty simple.
A good way to remember is `from → to` where *from* is the alias and *to*
is the target.
A good way to remember the order of the arguments is `from → to` where
*from* is the alias and *to* is the target.
```lua
minetest.register_alias("dirt", "default:dirt")