From e38fc72313c084d647d15b1f99255893e2905f98 Mon Sep 17 00:00:00 2001 From: Johannes Fritz Date: Wed, 10 Aug 2022 12:28:57 -0500 Subject: [PATCH] Add support for new automobiles painter --- hidroplane_entities.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hidroplane_entities.lua b/hidroplane_entities.lua index 65b423b..40db355 100644 --- a/hidroplane_entities.lua +++ b/hidroplane_entities.lua @@ -216,6 +216,10 @@ minetest.register_entity("hidroplane:hidro", { _inv = nil, _inv_id = "", + _change_color = function(self, colstr) + airutils.paint(self, colstr, "hidroplane_painting.png") + end, + get_staticdata = function(self) -- unloaded/unloads ... is now saved return minetest.serialize({ --stored_sound_handle = self.sound_handle,