summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)