Ensure display node is not pointable

Fix required in 5.0, not sure why this wasn't here though.
master
ChimneySwift 2019-04-24 08:52:45 +10:00 committed by GitHub
parent 0fc6b4b037
commit e8308f95bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ local drop_vendor = "fancy_vend:player_vendor"
-- Register a copy of the display node with no drops to make players separating the obsidian glass with something like a piston a non-issue.
local display_node_def = table.copy(minetest.registered_nodes[display_node])
display_node_def.drop = ""
display_node_def.pointable = false
display_node_def.groups.not_in_creative_inventory = 1
display_node_def.description = "Fancy Vendor Display Node (you hacker you!)"
if pipeworks then