From: Zughy <63455151+Zughy@users.noreply.github.com> Date: Thu, 30 Apr 2020 17:51:39 +0000 (+0000) Subject: Fix cart inventory image rendering (#2666) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d88e551071f6e7f60d7d6d9e2f0f6e4c65069b39;p=oweals%2Fminetest_game.git Fix cart inventory image rendering (#2666) Before it was rendering the side on both the side and the front of the minetest.inventorycube --- diff --git a/mods/carts/cart_entity.lua b/mods/carts/cart_entity.lua index 02ff6cde..39c4c5ca 100644 --- a/mods/carts/cart_entity.lua +++ b/mods/carts/cart_entity.lua @@ -389,7 +389,7 @@ minetest.register_entity("carts:cart", cart_entity) minetest.register_craftitem("carts:cart", { description = S("Cart") .. "\n" .. S("(Sneak+Click to pick up)"), - inventory_image = minetest.inventorycube("carts_cart_top.png", "carts_cart_side.png", "carts_cart_side.png"), + inventory_image = minetest.inventorycube("carts_cart_top.png", "carts_cart_front.png", "carts_cart_side.png"), wield_image = "carts_cart_side.png", on_place = function(itemstack, placer, pointed_thing) local under = pointed_thing.under