mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 15:00:18 +01:00
Fix cart inventory image rendering (#2666)
Before it was rendering the side on both the side and the front of the minetest.inventorycube
This commit is contained in:
parent
190f7fdac9
commit
d88e551071
@ -389,7 +389,7 @@ minetest.register_entity("carts:cart", cart_entity)
|
|||||||
|
|
||||||
minetest.register_craftitem("carts:cart", {
|
minetest.register_craftitem("carts:cart", {
|
||||||
description = S("Cart") .. "\n" .. S("(Sneak+Click to pick up)"),
|
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",
|
wield_image = "carts_cart_side.png",
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
local under = pointed_thing.under
|
local under = pointed_thing.under
|
||||||
|
Loading…
Reference in New Issue
Block a user