mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			198 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			198 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onAddItem(item, tileitem, position)
 | |
| 	if item:getType():isMovable() and Tile(position):getThingCount() == 2 then
 | |
| 		item:getPosition():sendMagicEffect(3)
 | |
| 		item:remove()
 | |
| 	end
 | |
| 	return true
 | |
| end | 
