{
spawnTimer.cancel();
spawnTimer = null;
}
final DimensionalRiftRoom riftRoom = DimensionalRiftManager.getInstance().getRoom(_type, room);
riftRoom.setUsed();
spawnTimer = new Timer();
spawnTimerTask = new TimerTask()
{
@Override
public void run()
{
riftRoom.spawn();
}
};
spawnTimer.schedule(spawnTimerTask, Config.RIFT_SPAWN_DELAY);
}