Hello, i've been working on Tele tabs to get the non working of them to work and i just want a 1 second delay between the teleportation and the animation, the code is below if you could help me.

InventoryOptionsHandler.java
Code:
		 if (itemId == 8013) {
			player.getInventory().deleteItem(8013, 1);
			player.lock();
			player.stopAll();
			player.setNextAnimation(new Animation(9597));
			player.setNextGraphics(new Graphics(1680));
			player.setNextWorldTile(new WorldTile(3087, 3503, 0));
			player.resetReceivedDamage();
			player.unlock();