diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2020-11-30 23:34:41 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2020-11-30 23:34:41 +0100 |
commit | f589b9db5e89a8f6a16fd051f74d0527c66020bf (patch) | |
tree | 491e1b50611686fc3af398b44408697d69cc0d7b /init.lua | |
parent | 0ddb46864547059027eb60c98af46cb018943f35 (diff) | |
download | mob_horse-master.tar.gz mob_horse-master.tar.bz2 mob_horse-master.zip |
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ mobs:register_mob("mob_horse:horse", { on_rightclick = function(self, clicker) -- make sure player is clicking - if not clicker or not clicker:is_player() then + if not clicker or not (clicker:is_player() or clicker.is_fake_player) then return end |