player cannot ride child horse

This commit is contained in:
TenPlus1 2019-06-15 20:29:09 +01:00
parent 8b206882a4
commit ed409a6e9a

View File

@ -130,7 +130,7 @@ self.saddle = nil
self.saddle = nil
-- attach player to horse
elseif (not self.driver
elseif (not self.driver and not self.child
and clicker:get_wielded_item():get_name() == "mobs:saddle")
or self.saddle then