]> git.lizzy.rs Git - mtmap.git/commitdiff
renamed MapBlk.PickNode to MapBlk.PeekNode
authorRiley <riley@e926.de>
Sat, 16 Jul 2022 23:08:41 +0000 (01:08 +0200)
committerRiley <riley@e926.de>
Sat, 16 Jul 2022 23:08:41 +0000 (01:08 +0200)
tools.go

index 8c9b321324e7e340183ca955a29ecc94e4aafa5f..2cf2da400989408f1f7b1bbe1e23eca65fe808a8 100644 (file)
--- a/tools.go
+++ b/tools.go
@@ -4,7 +4,7 @@ import (
        "github.com/anon55555/mt"
 )
 
-func (mb MapBlk) PickNode(i int) mt.Node {
+func (mb *MapBlk) PeekNode(i int) mt.Node {
        return mt.Node{
                Param0: mb.Param0[i],
                Param1: mb.Param1[i],