1
0
ミラー元 https://github.com/luanti-org/minetest_game.git 前回の同期 2026-01-07 18:05:19 +01:00

Only allow rotating nodes that could be dug

このコミットが含まれているのは:
PilzAdam
2014-12-07 21:29:54 +01:00
コミット 697b39d40d

ファイルの表示

@@ -32,6 +32,10 @@ local function screwdriver_handler(itemstack, user, pointed_thing, mode)
return
end
if ndef.can_dig and not ndef.can_dig(pos, user) then
return
end
-- Set param2
local n = node.param2
local axisdir = math.floor(n / 4)