Disallow screwdriver rotation of end portal frame
This commit is contained in:
parent
5f4d73143e
commit
d2a7bd1a53
1 changed files with 2 additions and 3 deletions
|
@ -275,9 +275,8 @@ minetest.register_abm({
|
|||
local rotate_frame, rotate_frame_eye
|
||||
|
||||
if minetest.get_modpath("screwdriver") then
|
||||
rotate_frame = screwdriver.rotate_simple
|
||||
-- TODO: Make the other node rotatable as well.
|
||||
-- Problem: We need to capture edge cases and update the portal accordingly.
|
||||
-- Intentionally not rotatable
|
||||
rotate_frame = false
|
||||
rotate_frame_eye = false
|
||||
end
|
||||
|
||||
|
|
Reference in a new issue