mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Update mods/doors/init.lua
Fix door's glitch in creative mode
This commit is contained in:
		@@ -82,7 +82,9 @@ function doors:register_door(name, def)
 | 
			
		||||
				meta:set_string("infotext", "Owned by "..pn)
 | 
			
		||||
			end
 | 
			
		||||
			
 | 
			
		||||
			itemstack:take_item()
 | 
			
		||||
			if not minetest.setting_getbool("creative_mode") then
 | 
			
		||||
				itemstack:take_item()
 | 
			
		||||
			end
 | 
			
		||||
			return itemstack
 | 
			
		||||
		end,
 | 
			
		||||
	})
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user