summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-11-17 18:21:00 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-11-17 18:21:00 +0000
commit0fde7ac7f0ba031ce61337ab296bba21e9bfdbb0 (patch)
treefd22a43444da125a2b86d0a8e4727c05895da1d7
parentfaab371aa546a669482b66f91b4e0ed7555b67cc (diff)
remove jack o lantern (ON) from creative
-rw-r--r--pumpkin.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/pumpkin.lua b/pumpkin.lua
index ebbbd87..4be0bf4 100644
--- a/pumpkin.lua
+++ b/pumpkin.lua
@@ -82,7 +82,10 @@ minetest.register_node("farming:jackolantern_on", {
},
light_source = default.LIGHT_MAX - 1,
paramtype2 = "facedir",
- groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2},
+ groups = {
+ choppy = 1, oddly_breakable_by_hand = 1, flammable = 2,
+ not_in_creative_inventory = 1
+ },
sounds = default.node_sound_wood_defaults(),
drop = "farming:jackolantern",
on_punch = function(pos, node, puncher)