added rotate_simple to side hopper to stop crashes

This commit is contained in:
TenPlus1 2015-10-31 11:22:25 +00:00
parent 80ff962ba5
commit 74e068f370
2 changed files with 7 additions and 1 deletions

@ -14,4 +14,6 @@ Released under WTFPL
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

@ -74,6 +74,8 @@ minetest.register_node("hopper:hopper", {
.." takes stuff from hopper at "
..minetest.pos_to_string(pos))
end,
on_rotate = screwdriver.disallow,
})
-- hopper side
@ -138,6 +140,8 @@ minetest.register_node("hopper:hopper_side", {
.." takes stuff from hopper at "
..minetest.pos_to_string(pos))
end,
on_rotate = screwdriver.rotate_simple,
})
-- suck in items on top of hopper