Skip to content
Permalink
Browse files

Fix cart inventory image rendering (#2666)

Before it was rendering the side on both the side and the front of the minetest.inventorycube
  • Loading branch information
Zughy committed Apr 30, 2020
1 parent 190f7fd commit d88e551071f6e7f60d7d6d9e2f0f6e4c65069b39
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit d88e551

Please sign in to comment.
You can’t perform that action at this time.