From dc43a7505c8711b270fd891bbe2a900521e138e2 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Mon, 22 Apr 2024 07:56:54 +0100 Subject: [PATCH] fix baby sheep horn issue, update licenses --- license.txt | 3 ++- sheep.lua | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/license.txt b/license.txt index 6c8b2c8..f62941b 100644 --- a/license.txt +++ b/license.txt @@ -24,6 +24,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +Honey and Cheese block by TenPlus1 under CC0 Chicken/Cow/Panda/Pig/Sheep sounds from freesounds.org under CC0 @@ -49,7 +50,6 @@ Models/Textures/Media by Krupnov Pavel (WTFPL) Models/Textures by Krupno Pavel (MIT) mobs_bee.b3d (converted to .b3d by sirrobzerrone) - mobs_bee.png mobs_pumba.b3d (converted to .b3d by sirrobzerrone) mobs_pumba.png @@ -67,6 +67,7 @@ Models/Textures by JK Murray (CC0) mobs_chick.png Models/Textures by sirrobzerrone (CC0) + mobs_bee.png mobs_cow.b3d mobs_cow.png mobs_cow2.png diff --git a/sheep.lua b/sheep.lua index e8797e9..7ca9396 100644 --- a/sheep.lua +++ b/sheep.lua @@ -217,6 +217,8 @@ for _, col in ipairs(all_colours) do -- fix any issue with horns by re-checking on_spawn = function(self) + if self.child then return end -- baby sheep dont have horns + local textures = horn_texture_sel(self.attribute_horns, self.gotten) self.object:set_properties({textures = {textures}})