master #15

Merged
NO11 merged 241 commits from VoxeLibre/VoxeLibre:master into master 2022-03-12 23:42:27 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 06274518bf - Show all commits

View File

@ -139,7 +139,7 @@ local function composter_add_item(pos, node, player, itemstack, pointed_thing)
-- handle filling the composter when rightclicked
-- as an on_rightclick handles, it returns an itemstack
--
if not player or player:get_player_control().sneak then
if not player or (player:get_player_control() and player:get_player_control().sneak) then
return itemstack
end
if not itemstack and itemstack:is_empty() then