Fix NodeDefByName doc comment

master
HimbeerserverDE 2021-03-14 10:37:07 +01:00
parent fa871b0043
commit a2986998a4
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ type NodeDef struct {
var nodeDefs map[string]map[uint16]*NodeDef
// NodeDefByID returns the NodeDef that has the specified ID on a
// NodeDefByName returns the NodeDef that has the specified name on a
// minetest server
func NodeDefByName(srv, name string) *NodeDef {
for _, def := range nodeDefs[srv] {