mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 11:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			261 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			261 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onAddItem(item, tileitem, position)
 | |
| 	if (item:getType():isMovable() and Tile(position):getThingCount() == 2) or
 | |
| 		(tileitem:getId() >= 4874 and tileitem:getId() <= 4880) then
 | |
| 		item:getPosition():sendMagicEffect(9)
 | |
| 		item:remove()
 | |
| 	end
 | |
| 	return true
 | |
| end | 
