mirror of
https://github.com/minetest-mods/hopper.git
synced 2025-01-03 11:07:30 +01:00
added rotate_simple to side hopper to stop crashes
This commit is contained in:
parent
80ff962ba5
commit
74e068f370
@ -14,4 +14,6 @@ Released under WTFPL
|
|||||||
|
|
||||||
0.4 - Supports locked chest and protected chest
|
0.4 - Supports locked chest and protected chest
|
||||||
|
|
||||||
0.5 - Works with 0.4.13's new shift+click for newly placed Hoppers
|
0.5 - Works with 0.4.13's new shift+click for newly placed Hoppers
|
||||||
|
|
||||||
|
0.6 - Remove formspec from hopper nodes to improve speed for servers
|
4
init.lua
4
init.lua
@ -74,6 +74,8 @@ minetest.register_node("hopper:hopper", {
|
|||||||
.." takes stuff from hopper at "
|
.." takes stuff from hopper at "
|
||||||
..minetest.pos_to_string(pos))
|
..minetest.pos_to_string(pos))
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
on_rotate = screwdriver.disallow,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- hopper side
|
-- hopper side
|
||||||
@ -138,6 +140,8 @@ minetest.register_node("hopper:hopper_side", {
|
|||||||
.." takes stuff from hopper at "
|
.." takes stuff from hopper at "
|
||||||
..minetest.pos_to_string(pos))
|
..minetest.pos_to_string(pos))
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
on_rotate = screwdriver.rotate_simple,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- suck in items on top of hopper
|
-- suck in items on top of hopper
|
||||||
|
Loading…
Reference in New Issue
Block a user