Fix flickering when placing glass pane

This commit is contained in:
Wuzzy 2021-02-24 16:36:45 +01:00
parent 8f3c416920
commit cdc3b82383
2 changed files with 9 additions and 1 deletions

View File

@ -90,7 +90,15 @@ end
minetest.register_node("xpanes:pane", {
description = "Glass Pane",
tiles = {"xpanes_space.png"},
drawtype = "nodebox",
tiles = {"xpanes_white.png", "xpanes_white.png", "xpanes_pane.png"},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.06, 0.5, 0.5, 0.06},
},
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,drop_on_dig=1},
use_texture_alpha = "clip",
inventory_image = "xpanes_pane.png",
wield_image = "xpanes_pane.png",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B