mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			290 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			290 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onUse(player, item, fromPosition, target, toPosition)
 | |
| 	if item:getId() == 2772 and Game.isItemThere({x = 33145, y = 32863, z = 8}, 1650) then
 | |
| 		Game.removeItemOnMap({x = 33145, y = 32863, z = 8}, 1650)
 | |
| 		Game.createItem(1651, 1, {x = 33145, y = 32863, z = 8})
 | |
| 	end
 | |
| 	return true
 | |
| end | 
