Update Fork #9

Merged
chmodsayshello merged 403 commits from MineClone5/MineClone5:master into master 2022-08-02 15:50:37 +02:00
1 changed files with 6 additions and 4 deletions
Showing only changes of commit d476e26c60 - Show all commits

View File

@ -166,11 +166,13 @@ function boat.on_activate(self, staticdata, dtime_s)
self._last_v = self._v self._last_v = self._v
self._itemstring = data.itemstring self._itemstring = data.itemstring
while #data.textures < 5 do if data.textures then
table.insert(data.textures, data.textures[1]) while #data.textures < 5 do
end table.insert(data.textures, data.textures[1])
end
self.object:set_properties({textures = data.textures}) self.object:set_properties({textures = data.textures})
end
end end
end end