mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 11:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			255 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			255 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onUse(player, item, fromPosition, target, toPosition, isHotkey)
 | |
| 	if item.itemid == 2772 then
 | |
| 		player:teleportTo(Position(32806, 32328, 15))
 | |
| 		player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
 | |
| 		item:transform(2773)
 | |
|  	end
 | |
|  	return true
 | |
| end
 | 
