mirror of
				https://github.com/mt-mods/unifieddyes.git
				synced 2025-11-04 09:35:29 +01:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			71d7e3c954
			...
			c91c68e0f5
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					c91c68e0f5 | ||
| 
						 | 
					09f95729c5 | 
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							@@ -193,7 +193,7 @@ minetest.register_on_placenode(
 | 
				
			|||||||
-- The complementary function:  strip-off the color if the node being dug is still white/neutral
 | 
					-- The complementary function:  strip-off the color if the node being dug is still white/neutral
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local function move_item(item, pos, inv, digger)
 | 
					local function move_item(item, pos, inv, digger)
 | 
				
			||||||
	if not digger then return end
 | 
					  if not (digger and digger:is_player()) then return end
 | 
				
			||||||
	local creative = creative_mode or minetest.check_player_privs(digger, "creative")
 | 
						local creative = creative_mode or minetest.check_player_privs(digger, "creative")
 | 
				
			||||||
	if inv:room_for_item("main", item)
 | 
						if inv:room_for_item("main", item)
 | 
				
			||||||
	  and (not creative or not inv:contains_item("main", item, true)) then
 | 
						  and (not creative or not inv:contains_item("main", item, true)) then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user