Skip to content

Commit

Permalink
ioexpander isn't ground content
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS authored Feb 27, 2024
1 parent 8d2c725 commit 4dd49f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ioexpander.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ for i=0,15,1 do
minetest.register_node("digistuff:ioexpander_"..i, {
description = offstate and "Digilines I/O Expander" or string.format("Digilines I/O Expander (on state %X - you hacker you!)",i),
groups = offstate and {cracky = 3,} or {cracky = 3,not_in_creative_inventory = 1,},
is_ground_content = false,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec","field[channel;Channel;${channel}")
Expand Down

0 comments on commit 4dd49f7

Please sign in to comment.