int z = loc.getZ();
if ((this instanceof L2PcInstance) && DimensionalRiftManager.getInstance().checkIfInRiftZone(getX(), getY(), getZ(), true)) // true -> ignore waiting room :)
{
L2PcInstance player = (L2PcInstance) this;
player.sendMessage("You have been sent to the waiting room.");
if (player.isInParty() && player.getParty().isInDimensionalRift())
{
player.getParty().getDimensionalRift().usedTeleport(player);
}
int[] newCoords = DimensionalRiftManager.getInstance().getRoom((byte) 0, (byte) 0).getTeleportCoords();