diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-06 11:38:43 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-06 11:38:43 +0100 |
commit | 0e4ba14bc16a2799ff67cdaabe7d7a3003d28cc5 (patch) | |
tree | 941aa8a87531a462873cbaa2b77127c223f73d2b /api.lua | |
parent | 4ad941523edf7b8642a8d40765cd80085015003d (diff) |
Added custom on_step for mob arrows (thx npxcoot)
Diffstat (limited to 'api.lua')
-rw-r--r-- | api.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2473,7 +2473,7 @@ function mobs:register_arrow(name, def) switch = 0, arrow = true, - on_step = function(self, dtime) + on_step = def.on_step or function(self, dtime) self.timer = self.timer + 1 |