projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
190f7fd
)
Fix cart inventory image rendering (#2666)
author
Zughy
<63455151+Zughy@users.noreply.github.com>
Thu, 30 Apr 2020 17:51:39 +0000
(17:51 +0000)
committer
GitHub
<noreply@github.com>
Thu, 30 Apr 2020 17:51:39 +0000
(19:51 +0200)
Before it was rendering the side on both the side and the front of the minetest.inventorycube
mods/carts/cart_entity.lua
patch
|
blob
|
history
diff --git
a/mods/carts/cart_entity.lua
b/mods/carts/cart_entity.lua
index 02ff6cde104cf7b65c13ebf99f793bed05ad8b66..39c4c5ca01709b28625e652cd5768988e29d3a21 100644
(file)
--- 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