summaryrefslogtreecommitdiff
path: root/rat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rat.lua')
-rw-r--r--rat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rat.lua b/rat.lua
index 31304eb..033a238 100644
--- a/rat.lua
+++ b/rat.lua
@@ -41,7 +41,7 @@ mobs:register_mob("mobs_animal:rat", {
self.rat_timer = 0
- local pos = self.object:getpos()
+ local pos = self.object:get_pos()
print("rat pos", pos.x, pos.y, pos.z, dtime)